Enum hdi::entry::examples::EntryTypes
source · Variants
Post(Post)
Msg(Msg)
PrivMsg(PrivMsg)
Trait Implementations
sourceimpl Debug for EntryTypes
impl Debug for EntryTypes
sourceimpl EntryDefRegistration for &EntryTypes
impl EntryDefRegistration for &EntryTypes
sourceconst ENTRY_DEFS: &'static [EntryDef] = _
const ENTRY_DEFS: &'static [EntryDef] = _
sourceimpl EntryDefRegistration for EntryTypes
impl EntryDefRegistration for EntryTypes
sourceconst ENTRY_DEFS: &'static [EntryDef] = _
const ENTRY_DEFS: &'static [EntryDef] = _
sourceimpl EntryTypesHelper for EntryTypes
impl EntryTypesHelper for EntryTypes
sourcefn deserialize_from_type<Z, I>(
zome_id: Z,
entry_def_index: I,
entry: &Entry
) -> Result<Option<Self>, Self::Error>where
Z: Into<ZomeId>,
I: Into<EntryDefIndex>,
fn deserialize_from_type<Z, I>(
zome_id: Z,
entry_def_index: I,
entry: &Entry
) -> Result<Option<Self>, Self::Error>where
Z: Into<ZomeId>,
I: Into<EntryDefIndex>,
Check if the
ZomeId
and EntryDefIndex
matches one of the
ZomeEntryTypesKey::from(Self::variant)
and if
it does deserialize the Entry
into that type. Read moresourceimpl From<&&EntryTypes> for EntryVisibility
impl From<&&EntryTypes> for EntryVisibility
sourcefn from(v: &&EntryTypes) -> Self
fn from(v: &&EntryTypes) -> Self
Converts to this type from the input type.
sourceimpl From<&EntryTypes> for EntryVisibility
impl From<&EntryTypes> for EntryVisibility
sourcefn from(v: &EntryTypes) -> Self
fn from(v: &EntryTypes) -> Self
Converts to this type from the input type.
sourceimpl From<&EntryTypes> for ZomeEntryTypesKey
impl From<&EntryTypes> for ZomeEntryTypesKey
sourcefn from(v: &EntryTypes) -> Self
fn from(v: &EntryTypes) -> Self
Converts to this type from the input type.
sourceimpl From<EntryTypes> for ZomeEntryTypesKey
impl From<EntryTypes> for ZomeEntryTypesKey
sourcefn from(v: EntryTypes) -> Self
fn from(v: EntryTypes) -> Self
Converts to this type from the input type.
sourceimpl TryFrom<&&EntryTypes> for ScopedEntryDefIndex
impl TryFrom<&&EntryTypes> for ScopedEntryDefIndex
sourceimpl TryFrom<&EntryTypes> for AppEntryBytes
impl TryFrom<&EntryTypes> for AppEntryBytes
sourceimpl TryFrom<&EntryTypes> for Entry
impl TryFrom<&EntryTypes> for Entry
sourceimpl TryFrom<&EntryTypes> for EntryType
impl TryFrom<&EntryTypes> for EntryType
sourceimpl TryFrom<&EntryTypes> for ScopedEntryDefIndex
impl TryFrom<&EntryTypes> for ScopedEntryDefIndex
sourceimpl TryFrom<(UnitEntryTypes, &Entry)> for EntryTypes
impl TryFrom<(UnitEntryTypes, &Entry)> for EntryTypes
sourceimpl TryFrom<EntryTypes> for AppEntryBytes
impl TryFrom<EntryTypes> for AppEntryBytes
sourceimpl TryFrom<EntryTypes> for Entry
impl TryFrom<EntryTypes> for Entry
sourceimpl TryFrom<EntryTypes> for EntryType
impl TryFrom<EntryTypes> for EntryType
sourceimpl TryFrom<EntryTypes> for ScopedEntryDefIndex
impl TryFrom<EntryTypes> for ScopedEntryDefIndex
sourceimpl UnitEnum for EntryTypes
impl UnitEnum for EntryTypes
Auto Trait Implementations
impl RefUnwindSafe for EntryTypes
impl Send for EntryTypes
impl Sync for EntryTypes
impl Unpin for EntryTypes
impl UnwindSafe for EntryTypes
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref