pub struct CapabilityNode {
pub id: String,
pub capability_type: String,
pub parent_id: Option<String>,
pub created_at: u64,
pub config: Value,
pub metadata: CapabilityMetadata,
}
Expand description
Node in the capability graph
Fields§
§id: String
§capability_type: String
§parent_id: Option<String>
§created_at: u64
§config: Value
§metadata: CapabilityMetadata
Trait Implementations§
Source§impl Clone for CapabilityNode
impl Clone for CapabilityNode
Source§fn clone(&self) -> CapabilityNode
fn clone(&self) -> CapabilityNode
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 moreAuto Trait Implementations§
impl Freeze for CapabilityNode
impl !RefUnwindSafe for CapabilityNode
impl Send for CapabilityNode
impl Sync for CapabilityNode
impl Unpin for CapabilityNode
impl !UnwindSafe for CapabilityNode
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