Enum pact::FieldFormat
source · pub enum FieldFormat {
Show 13 variants
U8,
I8,
U16,
I16,
U32,
I32,
U64,
I64,
F32,
F64,
Boolean,
String,
Data(DataType),
}Expand description
Variants§
U8
Unsigned 8-bit integer.
I8
Signed 8-bit integer.
U16
Unsigned 16-bit integer.
I16
Signed 16-bit integer.
U32
Unsigned 32-bit integer.
I32
Signed 32-bit integer.
U64
Unsigned 64-bit integer.
I64
Signed 64-bit integer.
F32
Signed 32-bit floating-point integer.
F64
Signed 64-bit floating-point integer.
Boolean
Boolean (true / false) data.
String
UTF-8 encoded String.
Data(DataType)
Data of some data type.
Implementations§
source§impl FieldFormat
impl FieldFormat
Trait Implementations§
source§impl Clone for FieldFormat
impl Clone for FieldFormat
source§fn clone(&self) -> FieldFormat
fn clone(&self) -> FieldFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FieldFormat
impl Debug for FieldFormat
source§impl PartialEq for FieldFormat
impl PartialEq for FieldFormat
source§fn eq(&self, other: &FieldFormat) -> bool
fn eq(&self, other: &FieldFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FieldFormat
Auto Trait Implementations§
impl Freeze for FieldFormat
impl RefUnwindSafe for FieldFormat
impl Send for FieldFormat
impl Sync for FieldFormat
impl Unpin for FieldFormat
impl UnwindSafe for FieldFormat
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