[][src]Struct cargo_metadata::WorkspaceMember

pub struct WorkspaceMember {
    pub raw: String,
}

A workspace member. This is basically identical to cargo::core::package_id::PackageId, except that this does not use Arc internally.

Fields

raw: String

The raw package id as given by cargo

Implementations

impl WorkspaceMember[src]

pub fn name(&self) -> &str[src]

The name of the crate

pub fn version(&self) -> Version[src]

The version of the crate

pub fn url(&self) -> &str[src]

The path to the crate in url format

Trait Implementations

impl Clone for WorkspaceMember[src]

impl Debug for WorkspaceMember[src]

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

impl Serialize for WorkspaceMember[src]

Auto Trait Implementations

impl RefUnwindSafe for WorkspaceMember

impl Send for WorkspaceMember

impl Sync for WorkspaceMember

impl Unpin for WorkspaceMember

impl UnwindSafe for WorkspaceMember

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.