pub enum AtomicFact {
Node {
node_id: String,
field: NodeFactField,
value: String,
},
Relation {
kind: String,
source: String,
target: String,
},
Focus {
stream_id: String,
sequence: u64,
field: FocusFactField,
value: String,
},
FocusBucketMember {
stream_id: String,
sequence: u64,
bucket: FocusBucket,
node_id: String,
},
FocusBucketEmpty {
stream_id: String,
sequence: u64,
bucket: FocusBucket,
},
}Variants§
Implementations§
Source§impl AtomicFact
impl AtomicFact
pub fn family(&self) -> FactFamily
Trait Implementations§
Source§impl Clone for AtomicFact
impl Clone for AtomicFact
Source§impl Debug for AtomicFact
impl Debug for AtomicFact
Source§impl<'de> Deserialize<'de> for AtomicFact
impl<'de> Deserialize<'de> for AtomicFact
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
impl Eq for AtomicFact
Source§impl Ord for AtomicFact
impl Ord for AtomicFact
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AtomicFact
impl PartialEq for AtomicFact
Source§impl PartialOrd for AtomicFact
impl PartialOrd for AtomicFact
Source§impl Serialize for AtomicFact
impl Serialize for AtomicFact
impl StructuralPartialEq for AtomicFact
Auto Trait Implementations§
impl Freeze for AtomicFact
impl RefUnwindSafe for AtomicFact
impl Send for AtomicFact
impl Sync for AtomicFact
impl Unpin for AtomicFact
impl UnsafeUnpin for AtomicFact
impl UnwindSafe for AtomicFact
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