Skip to content

Error on calling method "origin" on type Value #385

Description

@hkr1990

I'm trying to call this public function "origin" on a Value type and I'm getting this error "^^^^^ private field, not a method". Also, the method is public in the code but not in the API documentation.

Defined in value.rs
/// Get the description of the original location of the value.
pub fn origin(&self) -> Option<&str> {
self.origin.as_ref().map(AsRef::as_ref)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions