[][src]Struct cargo_metadata::Source

pub struct Source(_);

The source of a package such as crates.io.


impl Source[src]

pub fn is_crates_io(&self) -> bool[src]

Returns true if the source is crates.io.

Trait Implementations

impl Clone for Source[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Source[src]

impl Display for Source[src]

impl Serialize for Source[src]

impl<'de> Deserialize<'de> for Source[src]

Auto Trait Implementations

impl Unpin for Source

impl Send for Source

impl Sync for Source

impl RefUnwindSafe for Source

impl UnwindSafe for Source

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToString for T where
    T: Display + ?Sized

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>,