Enum tlfs_crdt::ArchivedSchema [−][src]
#[repr(u8,)]
pub enum ArchivedSchema where
PrimitiveKind: Archive,
PrimitiveKind: Archive, {
Null,
Flag,
Reg(Archived<PrimitiveKind>),
Table(Archived<PrimitiveKind>, Archived<Box<Schema>>),
Array(Archived<Box<Schema>>),
Struct(Archived<BTreeMap<String, Schema>>),
}
Expand description
An archived Schema
Variants
Null
The archived counterpart of Schema::Null
Flag
The archived counterpart of Schema::Flag
Reg(Archived<PrimitiveKind>)
Tuple Fields
0: Archived<PrimitiveKind>
The archived counterpart of Schema::Reg::0
The archived counterpart of Schema::Reg
Table(Archived<PrimitiveKind>, Archived<Box<Schema>>)
Tuple Fields
0: Archived<PrimitiveKind>
The archived counterpart of Schema::Table::0
1: Archived<Box<Schema>>
The archived counterpart of Schema::Table::1
The archived counterpart of Schema::Table
Array(Archived<Box<Schema>>)
Tuple Fields
0: Archived<Box<Schema>>
The archived counterpart of Schema::Array::0
The archived counterpart of Schema::Array
Struct(Archived<BTreeMap<String, Schema>>)
Tuple Fields
0: Archived<BTreeMap<String, Schema>>
The archived counterpart of Schema::Struct::0
The archived counterpart of Schema::Struct
Implementations
Trait Implementations
impl PartialEq<ArchivedSchema> for ArchivedSchema where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
impl PartialEq<ArchivedSchema> for ArchivedSchema where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl StructuralPartialEq for ArchivedSchema where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
Auto Trait Implementations
impl RefUnwindSafe for ArchivedSchema
impl Send for ArchivedSchema
impl Sync for ArchivedSchema
impl !Unpin for ArchivedSchema
impl UnwindSafe for ArchivedSchema
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more