pub struct StatementDetailDto {
pub statement_id: String,
pub kind: String,
pub subject: String,
pub predicate: String,
pub object: StatementObjectDto,
pub confidence: f32,
pub event_at_unix_nanos: u64,
pub valid_from_unix_nanos: u64,
pub valid_to_unix_nanos: u64,
pub tombstoned: bool,
}Expand description
A read-side statement view in the public JSON contract (dashboard subset).
Fields§
§statement_id: StringThe statement id (UUID).
kind: StringIts kind (fact, preference, event, …).
subject: StringThe subject entity (UUID).
predicate: StringThe predicate.
object: StatementObjectDtoThe object.
confidence: f32Confidence in [0,1].
event_at_unix_nanos: u64When the content happened (unix nanos; 0 = unset).
valid_from_unix_nanos: u64Bi-temporal validity start (unix nanos).
valid_to_unix_nanos: u64Bi-temporal validity end (0 = still valid).
tombstoned: boolWhether the statement is tombstoned.
Trait Implementations§
Source§impl Debug for StatementDetailDto
impl Debug for StatementDetailDto
Source§impl From<StatementView> for StatementDetailDto
impl From<StatementView> for StatementDetailDto
Source§fn from(v: StatementView) -> Self
fn from(v: StatementView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatementDetailDto
impl RefUnwindSafe for StatementDetailDto
impl Send for StatementDetailDto
impl Sync for StatementDetailDto
impl Unpin for StatementDetailDto
impl UnsafeUnpin for StatementDetailDto
impl UnwindSafe for StatementDetailDto
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