Struct cargo_metadata::Source [−][src]
pub struct Source {
pub repr: String,
}
Expand description
The source of a package such as crates.io.
Fields
repr: String
The underlying string representation of a source.
Implementations
Returns true if the source is crates.io.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Source
impl UnwindSafe for Source
Blanket Implementations
Mutably borrows from an owned value. Read more