pub struct StatementCreatedEvent {
pub statement_id: WireUuid,
pub kind: u8,
pub subject: WireUuid,
pub predicate: String,
pub confidence: f32,
}Expand description
GraphEventPayload::StatementCreated body: a new typed statement was
asserted about subject.
Fields§
§statement_id: WireUuid§kind: u81=Fact, 2=Preference, 3=Event.
subject: WireUuid§predicate: String§confidence: f32Trait Implementations§
Source§impl Clone for StatementCreatedEvent
impl Clone for StatementCreatedEvent
Source§impl Debug for StatementCreatedEvent
impl Debug for StatementCreatedEvent
Source§impl<'de> Deserialize<'de> for StatementCreatedEvent
impl<'de> Deserialize<'de> for StatementCreatedEvent
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 StatementCreatedEvent
impl PartialEq for StatementCreatedEvent
Source§impl Serialize for StatementCreatedEvent
impl Serialize for StatementCreatedEvent
impl StructuralPartialEq for StatementCreatedEvent
Auto Trait Implementations§
impl Freeze for StatementCreatedEvent
impl RefUnwindSafe for StatementCreatedEvent
impl Send for StatementCreatedEvent
impl Sync for StatementCreatedEvent
impl Unpin for StatementCreatedEvent
impl UnsafeUnpin for StatementCreatedEvent
impl UnwindSafe for StatementCreatedEvent
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