pub struct CapabilityIdent {
pub name: String,
pub version: String,
pub author: String,
}Fields§
§name: 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 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 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