pub struct CapabilityMap {
pub capabilities: Vec<Capability>,
pub discovered_at: i64,
pub stale_after_secs: u64,
}Expand description
Capability map — what the agent can do.
Fields§
§capabilities: Vec<Capability>§discovered_at: i64§stale_after_secs: u64Trait Implementations§
Source§impl Clone for CapabilityMap
impl Clone for CapabilityMap
Source§fn clone(&self) -> CapabilityMap
fn clone(&self) -> CapabilityMap
Returns a duplicate of the value. Read more
1.0.0 · 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 CapabilityMap
impl Debug for CapabilityMap
Source§impl<'de> Deserialize<'de> for CapabilityMap
impl<'de> Deserialize<'de> for CapabilityMap
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
Auto Trait Implementations§
impl Freeze for CapabilityMap
impl RefUnwindSafe for CapabilityMap
impl Send for CapabilityMap
impl Sync for CapabilityMap
impl Unpin for CapabilityMap
impl UnsafeUnpin for CapabilityMap
impl UnwindSafe for CapabilityMap
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