Enum fdb::tuple::TupleSchemaElement
source · pub enum TupleSchemaElement {
Show 28 variants
Null,
Bytes,
String,
Tuple(TupleSchema),
Integer,
Float,
Double,
Boolean,
Uuid,
Versionstamp,
MaybeBytes,
MaybeString,
MaybeTuple(TupleSchema),
MaybeInteger,
MaybeFloat,
MaybeDouble,
MaybeBoolean,
MaybeUuid,
MaybeVersionstamp,
ListOfBytes,
ListOfString,
ListOfTuple(TupleSchema),
ListOfInteger,
ListOfFloat,
ListOfDouble,
ListOfBoolean,
ListOfUuid,
ListOfVersionstamp,
}
Expand description
Represents the elements that a TupleSchema
may contain.
Variants§
Null
Null
value
Bytes
Bytes
value
String
String
value
Tuple(TupleSchema)
Nested Tuple
value
Integer
Float
f32
value
Double
f64
value
Boolean
bool
value
Uuid
Uuid
value
Versionstamp
Versionstamp
value
MaybeBytes
Optional Bytes
value
MaybeString
Optional String
value
MaybeTuple(TupleSchema)
Optional nested Tuple
value
MaybeInteger
MaybeFloat
Optional f32
value
MaybeDouble
Optional f64
value
MaybeBoolean
Optional bool
value
MaybeUuid
Optional Uuid
value
MaybeVersionstamp
Optional Versionstamp
value
ListOfBytes
List of Bytes
value
ListOfString
List of String
value
ListOfTuple(TupleSchema)
List of Tuple
value
ListOfInteger
ListOfFloat
List of f32
value
ListOfDouble
List of f64
value
ListOfBoolean
List of bool
value
ListOfUuid
List of Uuid
value
ListOfVersionstamp
List of Versionstamp
value
Trait Implementations§
source§impl Clone for TupleSchemaElement
impl Clone for TupleSchemaElement
source§fn clone(&self) -> TupleSchemaElement
fn clone(&self) -> TupleSchemaElement
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 TupleSchemaElement
impl Debug for TupleSchemaElement
source§impl PartialEq<TupleSchemaElement> for TupleSchemaElement
impl PartialEq<TupleSchemaElement> for TupleSchemaElement
source§fn eq(&self, other: &TupleSchemaElement) -> bool
fn eq(&self, other: &TupleSchemaElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TupleSchemaElement
Auto Trait Implementations§
impl RefUnwindSafe for TupleSchemaElement
impl Send for TupleSchemaElement
impl Sync for TupleSchemaElement
impl Unpin for TupleSchemaElement
impl UnwindSafe for TupleSchemaElement
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