pub struct ContextFact {
pub key: String,
pub id: String,
pub content: String,
}Expand description
A fact from converge-core’s context (read-only).
This is a projection of platform facts for kernel consumption. The kernel cannot create or modify facts directly.
Fields§
§key: StringThe context key this fact belongs to
id: StringUnique identifier for this fact
content: StringThe fact content
Trait Implementations§
Source§impl Clone for ContextFact
impl Clone for ContextFact
Source§fn clone(&self) -> ContextFact
fn clone(&self) -> ContextFact
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 ContextFact
impl Debug for ContextFact
Source§impl<'de> Deserialize<'de> for ContextFact
impl<'de> Deserialize<'de> for ContextFact
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 ContextFact
impl RefUnwindSafe for ContextFact
impl Send for ContextFact
impl Sync for ContextFact
impl Unpin for ContextFact
impl UnwindSafe for ContextFact
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