pub enum StatementObjectDto {
Entity {
id: String,
},
Value {
value: StatementValueDto,
},
Memory {
id: String,
},
Statement {
id: String,
},
}Expand description
A statement object in the public JSON contract. Ids are UUID strings.
Variants§
Entity
Points at an entity.
Value
A literal scalar value.
Fields
§
value: StatementValueDtoMemory
Points at a memory.
Statement
Points at another statement.
Trait Implementations§
Source§impl Debug for StatementObjectDto
impl Debug for StatementObjectDto
Source§impl From<StatementObjectWire> for StatementObjectDto
impl From<StatementObjectWire> for StatementObjectDto
Source§fn from(o: StatementObjectWire) -> Self
fn from(o: StatementObjectWire) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatementObjectDto
impl RefUnwindSafe for StatementObjectDto
impl Send for StatementObjectDto
impl Sync for StatementObjectDto
impl Unpin for StatementObjectDto
impl UnsafeUnpin for StatementObjectDto
impl UnwindSafe for StatementObjectDto
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