pub struct LeanWorkerCapabilityFact {
pub name: String,
pub version: String,
}Expand description
One named capability advertised by capability metadata.
Fields§
§name: String§version: StringTrait Implementations§
Source§impl Clone for LeanWorkerCapabilityFact
impl Clone for LeanWorkerCapabilityFact
Source§fn clone(&self) -> LeanWorkerCapabilityFact
fn clone(&self) -> LeanWorkerCapabilityFact
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 LeanWorkerCapabilityFact
impl Debug for LeanWorkerCapabilityFact
Source§impl<'de> Deserialize<'de> for LeanWorkerCapabilityFact
impl<'de> Deserialize<'de> for LeanWorkerCapabilityFact
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 LeanWorkerCapabilityFact
impl PartialEq for LeanWorkerCapabilityFact
Source§fn eq(&self, other: &LeanWorkerCapabilityFact) -> bool
fn eq(&self, other: &LeanWorkerCapabilityFact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerCapabilityFact
impl Serialize for LeanWorkerCapabilityFact
impl Eq for LeanWorkerCapabilityFact
impl StructuralPartialEq for LeanWorkerCapabilityFact
Auto Trait Implementations§
impl Freeze for LeanWorkerCapabilityFact
impl RefUnwindSafe for LeanWorkerCapabilityFact
impl Send for LeanWorkerCapabilityFact
impl Sync for LeanWorkerCapabilityFact
impl Unpin for LeanWorkerCapabilityFact
impl UnsafeUnpin for LeanWorkerCapabilityFact
impl UnwindSafe for LeanWorkerCapabilityFact
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