Enum EntryTypes
pub enum EntryTypes {
AwaitingDependencies(AwaitingDependencies),
PrivateEvent(PrivateEventEntry),
EventHistory(EventHistory),
Acknowledgement(Acknowledgement),
EventSentToRecipients(EventSentToRecipients),
}Variants§
AwaitingDependencies(AwaitingDependencies)
PrivateEvent(PrivateEventEntry)
EventHistory(EventHistory)
Acknowledgement(Acknowledgement)
EventSentToRecipients(EventSentToRecipients)
Trait Implementations§
§impl Clone for EntryTypes
impl Clone for EntryTypes
§fn clone(&self) -> EntryTypes
fn clone(&self) -> EntryTypes
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 more§impl Debug for EntryTypes
impl Debug for EntryTypes
§impl<'de> Deserialize<'de> for EntryTypes
impl<'de> Deserialize<'de> for EntryTypes
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntryTypes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntryTypes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl EntryDefRegistration for &EntryTypes
impl EntryDefRegistration for &EntryTypes
§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 the§impl EntryDefRegistration for EntryTypes
impl EntryDefRegistration for EntryTypes
§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 the§impl EntryTypesHelper for EntryTypes
impl EntryTypesHelper for EntryTypes
§fn deserialize_from_type<Z, I>(
zome_index: Z,
entry_def_index: I,
entry: &Entry,
) -> Result<Option<EntryTypes>, <EntryTypes as EntryTypesHelper>::Error>
fn deserialize_from_type<Z, I>( zome_index: Z, entry_def_index: I, entry: &Entry, ) -> Result<Option<EntryTypes>, <EntryTypes as EntryTypesHelper>::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.§impl Serialize for EntryTypes
impl Serialize for EntryTypes
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TryFrom<(UnitEntryTypes, &Entry)> for EntryTypes
impl TryFrom<(UnitEntryTypes, &Entry)> for EntryTypes
§fn try_from(
_: (UnitEntryTypes, &Entry),
) -> Result<EntryTypes, <EntryTypes as TryFrom<(UnitEntryTypes, &Entry)>>::Error>
fn try_from( _: (UnitEntryTypes, &Entry), ) -> Result<EntryTypes, <EntryTypes as TryFrom<(UnitEntryTypes, &Entry)>>::Error>
Performs the conversion.
§impl UnitEnum for EntryTypes
impl UnitEnum for EntryTypes
§type Unit = UnitEntryTypes
type Unit = UnitEntryTypes
An enum with the same variants as the implementor
but without any data.
§fn to_unit(&self) -> <EntryTypes as UnitEnum>::Unit
fn to_unit(&self) -> <EntryTypes as UnitEnum>::Unit
Turn this type into it’s unit enum.
§fn unit_iter() -> Box<dyn Iterator<Item = <EntryTypes as UnitEnum>::Unit>>
fn unit_iter() -> Box<dyn Iterator<Item = <EntryTypes as UnitEnum>::Unit>>
Iterate over the unit variants.
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