pub enum EntryTypes {
Example(Example),
}
Variants§
Trait Implementations§
Source§impl Clone for EntryTypes
impl Clone for EntryTypes
Source§fn clone(&self) -> EntryTypes
fn clone(&self) -> EntryTypes
Returns a duplicate 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 EntryTypes
impl Debug for EntryTypes
Source§impl EntryDefRegistration for &EntryTypes
impl EntryDefRegistration for &EntryTypes
Source§const ENTRY_DEFS: &'static [EntryDef]
const ENTRY_DEFS: &'static [EntryDef]
The list of
EntryDef
properties for the implementing type.
This must be in the same order as theSource§impl EntryDefRegistration for EntryTypes
impl EntryDefRegistration for EntryTypes
Source§const ENTRY_DEFS: &'static [EntryDef]
const ENTRY_DEFS: &'static [EntryDef]
The list of
EntryDef
properties for the implementing type.
This must be in the same order as theSource§impl EntryTypesHelper for EntryTypes
impl EntryTypesHelper for EntryTypes
Source§fn deserialize_from_type<Z, I>(
zome_index: Z,
entry_def_index: I,
entry: &Entry,
) -> Result<Option<Self>, Self::Error>
fn deserialize_from_type<Z, I>( zome_index: Z, entry_def_index: I, entry: &Entry, ) -> Result<Option<Self>, Self::Error>
Check if the
ZomeIndex
and EntryDefIndex
matches one of the
ZomeEntryTypesKey::from(Self::variant)
and if
it does deserialize the Entry
into that type.Source§impl From<&&EntryTypes> for EntryVisibility
impl From<&&EntryTypes> for EntryVisibility
Source§fn from(v: &&EntryTypes) -> Self
fn from(v: &&EntryTypes) -> Self
Converts to this type from the input type.
Source§impl From<&EntryTypes> for EntryVisibility
impl From<&EntryTypes> for EntryVisibility
Source§fn from(v: &EntryTypes) -> Self
fn from(v: &EntryTypes) -> Self
Converts to this type from the input type.
Source§impl From<&EntryTypes> for ZomeEntryTypesKey
impl From<&EntryTypes> for ZomeEntryTypesKey
Source§fn from(v: &EntryTypes) -> Self
fn from(v: &EntryTypes) -> Self
Converts to this type from the input type.
Source§impl From<EntryTypes> for ZomeEntryTypesKey
impl From<EntryTypes> for ZomeEntryTypesKey
Source§fn from(v: EntryTypes) -> Self
fn from(v: EntryTypes) -> Self
Converts to this type from the input type.
Source§impl TryFrom<&&EntryTypes> for ScopedEntryDefIndex
impl TryFrom<&&EntryTypes> for ScopedEntryDefIndex
Source§impl TryFrom<&EntryTypes> for AppEntryBytes
impl TryFrom<&EntryTypes> for AppEntryBytes
Source§impl TryFrom<&EntryTypes> for Entry
impl TryFrom<&EntryTypes> for Entry
Source§impl TryFrom<&EntryTypes> for EntryType
impl TryFrom<&EntryTypes> for EntryType
Source§impl TryFrom<&EntryTypes> for ScopedEntryDefIndex
impl TryFrom<&EntryTypes> for ScopedEntryDefIndex
Source§impl TryFrom<(UnitEntryTypes, &Entry)> for EntryTypes
impl TryFrom<(UnitEntryTypes, &Entry)> for EntryTypes
Source§impl TryFrom<EntryTypes> for AppEntryBytes
impl TryFrom<EntryTypes> for AppEntryBytes
Source§impl TryFrom<EntryTypes> for Entry
impl TryFrom<EntryTypes> for Entry
Source§impl TryFrom<EntryTypes> for EntryType
impl TryFrom<EntryTypes> for EntryType
Source§impl TryFrom<EntryTypes> for ScopedEntryDefIndex
impl TryFrom<EntryTypes> for ScopedEntryDefIndex
Source§impl UnitEnum for EntryTypes
impl UnitEnum for EntryTypes
Auto Trait Implementations§
impl Freeze for EntryTypes
impl RefUnwindSafe for EntryTypes
impl Send for EntryTypes
impl Sync for EntryTypes
impl Unpin for EntryTypes
impl UnwindSafe for EntryTypes
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