Skip to main content

AnyDependencyTable

Struct AnyDependencyTable 

Source
struct AnyDependencyTable<P> {
Show 21 fields version: Option<String>, registry: Option<RegistryName>, registry_index: Option<String>, path: Option<P>, base: Option<PathBaseName>, git: Option<String>, branch: Option<String>, tag: Option<String>, rev: Option<String>, builtin: bool, features: Option<Vec<String>>, optional: Option<bool>, default_features: Option<bool>, default_features2: Option<bool>, package: Option<PackageName>, public: Option<bool>, artifact: Option<StringOrVec>, lib: Option<bool>, target: Option<String>, workspace: Option<WorkspaceValue>, _unused_keys: BTreeMap<String, Value>,
}

Fields§

§version: Option<String>§registry: Option<RegistryName>§registry_index: Option<String>§path: Option<P>§base: Option<PathBaseName>§git: Option<String>§branch: Option<String>§tag: Option<String>§rev: Option<String>§builtin: bool§features: Option<Vec<String>>§optional: Option<bool>§default_features: Option<bool>§default_features2: Option<bool>§package: Option<PackageName>§public: Option<bool>§artifact: Option<StringOrVec>§lib: Option<bool>§target: Option<String>§workspace: Option<WorkspaceValue>§_unused_keys: BTreeMap<String, Value>

Implementations§

Trait Implementations§

Source§

impl<'de, P> Deserialize<'de> for AnyDependencyTable<P>
where P: Deserialize<'de>,

Source§

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<P> Forget for AnyDependencyTable<P>

§

impl<P> Freeze for AnyDependencyTable<P>
where Option<P>: Freeze,

§

impl<P> Move for AnyDependencyTable<P>

§

impl<P> RefUnwindSafe for AnyDependencyTable<P>

§

impl<P> Send for AnyDependencyTable<P>
where Option<P>: Send,

§

impl<P> Sync for AnyDependencyTable<P>
where Option<P>: Sync,

§

impl<P> Unpin for AnyDependencyTable<P>
where Option<P>: Unpin,

§

impl<P> UnsafeUnpin for AnyDependencyTable<P>
where Option<P>: UnsafeUnpin,

§

impl<P> UnwindSafe for AnyDependencyTable<P>
where Option<P>: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.