pub struct CapabilityIdent {
pub author: String,
pub package: String,
pub version: String,
}Fields§
§package: String§version: StringImplementations§
Source§impl CapabilityIdent
impl CapabilityIdent
pub fn to_package(self) -> Package<Value>
Trait Implementations§
Source§impl Clone for CapabilityIdent
impl Clone for CapabilityIdent
Source§fn clone(&self) -> CapabilityIdent
fn clone(&self) -> CapabilityIdent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CapabilityIdent
impl Debug for CapabilityIdent
Source§impl<'de> Deserialize<'de> for CapabilityIdent
impl<'de> Deserialize<'de> for CapabilityIdent
Source§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
Source§impl Display for CapabilityIdent
impl Display for CapabilityIdent
impl Eq for CapabilityIdent
Source§impl Hash for CapabilityIdent
impl Hash for CapabilityIdent
Source§impl Ord for CapabilityIdent
impl Ord for CapabilityIdent
Source§fn cmp(&self, other: &CapabilityIdent) -> Ordering
fn cmp(&self, other: &CapabilityIdent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CapabilityIdent
impl PartialEq for CapabilityIdent
Source§fn eq(&self, other: &CapabilityIdent) -> bool
fn eq(&self, other: &CapabilityIdent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CapabilityIdent
impl PartialOrd for CapabilityIdent
Source§impl Serialize for CapabilityIdent
impl Serialize for CapabilityIdent
impl StructuralPartialEq for CapabilityIdent
Auto Trait Implementations§
impl Freeze for CapabilityIdent
impl RefUnwindSafe for CapabilityIdent
impl Send for CapabilityIdent
impl Sync for CapabilityIdent
impl Unpin for CapabilityIdent
impl UnsafeUnpin for CapabilityIdent
impl UnwindSafe for CapabilityIdent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.