pub enum StatementValueDto {
Text {
value: String,
},
Integer {
value: i64,
},
Float {
value: f64,
},
Bool {
value: bool,
},
UnixNanos {
value: u64,
},
Blob {
value: Vec<u8>,
},
}Expand description
A scalar object value in the public JSON contract.
Variants§
Text
Free text.
Integer
Signed integer.
Float
Floating-point number.
Bool
Boolean.
UnixNanos
A unix-nanos timestamp value.
Blob
Opaque bytes (JSON array of byte values).
Trait Implementations§
Source§impl Debug for StatementValueDto
impl Debug for StatementValueDto
Source§impl From<StatementValueWire> for StatementValueDto
impl From<StatementValueWire> for StatementValueDto
Source§fn from(v: StatementValueWire) -> Self
fn from(v: StatementValueWire) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatementValueDto
impl RefUnwindSafe for StatementValueDto
impl Send for StatementValueDto
impl Sync for StatementValueDto
impl Unpin for StatementValueDto
impl UnsafeUnpin for StatementValueDto
impl UnwindSafe for StatementValueDto
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