pub struct StatementView {Show 23 fields
pub statement_id: WireUuid,
pub kind: StatementKindWire,
pub subject: WireUuid,
pub subject_pending_audit_id: WireUuid,
pub predicate: String,
pub object: StatementObjectWire,
pub confidence: f32,
pub evidence: EvidenceRefWire,
pub extractor_id: u32,
pub extracted_at_unix_nanos: u64,
pub schema_version: u32,
pub valid_from_unix_nanos: u64,
pub valid_to_unix_nanos: u64,
pub event_at_unix_nanos: u64,
pub version: u32,
pub superseded_by: WireUuid,
pub supersedes: WireUuid,
pub chain_root: WireUuid,
pub tombstoned: bool,
pub tombstoned_at_unix_nanos: u64,
pub tombstone_reason: u8,
pub flags: u32,
pub is_stateful: bool,
}Expand description
Read-side projection of a statement. Mirrors the server’s
StatementView. Optional value-side fields collapse to sentinel zero
([0; 16] for ids, 0 for nanos).
Fields§
§statement_id: WireUuid§kind: StatementKindWire§subject: WireUuid§subject_pending_audit_id: WireUuid§predicate: String§object: StatementObjectWire§confidence: f32§evidence: EvidenceRefWire§extractor_id: u32§extracted_at_unix_nanos: u64§schema_version: u32§valid_from_unix_nanos: u64§valid_to_unix_nanos: u64§event_at_unix_nanos: u64§version: u32§superseded_by: WireUuid§supersedes: WireUuid§chain_root: WireUuid§tombstoned: bool§tombstoned_at_unix_nanos: u64§tombstone_reason: u8§flags: u32§is_stateful: booltrue iff this statement is stateful.
Trait Implementations§
Source§impl Clone for StatementView
impl Clone for StatementView
Source§impl Debug for StatementView
impl Debug for StatementView
Source§impl<'de> Deserialize<'de> for StatementView
impl<'de> Deserialize<'de> for StatementView
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 StatementView
impl PartialEq for StatementView
Source§impl Serialize for StatementView
impl Serialize for StatementView
impl StructuralPartialEq for StatementView
Auto Trait Implementations§
impl Freeze for StatementView
impl RefUnwindSafe for StatementView
impl Send for StatementView
impl Sync for StatementView
impl Unpin for StatementView
impl UnsafeUnpin for StatementView
impl UnwindSafe for StatementView
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