You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
}
The text was updated successfully, but these errors were encountered:
Sorry for not coming back to your question until now.
I will publish the next release when I think it is appropriate. I don't think it is right now. The crate is not that actively developed, there is not much progress here. Also because I fail to drive my attempt on re-thinking the crate from grounds up (see #376 ). Not because I have no idea how to do it, but simply because I cannot find the motivation to get started.
FWIW, until the next release, you can use the master branch of this crate to get that method!
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)
}
The text was updated successfully, but these errors were encountered: