Struct holochain_integrity_types::action::AppEntryDef
source · pub struct AppEntryDef {
pub entry_index: EntryDefIndex,
pub zome_index: ZomeIndex,
pub visibility: EntryVisibility,
}
Expand description
Information about a class of Entries provided by the DNA
Fields§
§entry_index: EntryDefIndex
A unique u8 identifier within a zome for this entry type.
zome_index: ZomeIndex
The id of the zome that defines this entry type.
visibility: EntryVisibility
The visibility of this app entry.
Implementations§
source§impl AppEntryDef
impl AppEntryDef
pub fn new( entry_index: EntryDefIndex, zome_index: ZomeIndex, visibility: EntryVisibility ) -> Self
pub fn entry_index(&self) -> EntryDefIndex
pub fn zome_index(&self) -> ZomeIndex
pub fn visibility(&self) -> &EntryVisibility
Trait Implementations§
source§impl Clone for AppEntryDef
impl Clone for AppEntryDef
source§fn clone(&self) -> AppEntryDef
fn clone(&self) -> AppEntryDef
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 AppEntryDef
impl Debug for AppEntryDef
source§impl<'de> Deserialize<'de> for AppEntryDef
impl<'de> Deserialize<'de> for AppEntryDef
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for AppEntryDef
impl Hash for AppEntryDef
source§impl PartialEq for AppEntryDef
impl PartialEq for AppEntryDef
source§fn eq(&self, other: &AppEntryDef) -> bool
fn eq(&self, other: &AppEntryDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AppEntryDef
impl Serialize for AppEntryDef
source§impl TryFrom<&AppEntryDef> for SerializedBytes
impl TryFrom<&AppEntryDef> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: &AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<AppEntryDef> for SerializedBytes
impl TryFrom<AppEntryDef> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: AppEntryDef) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for AppEntryDef
impl TryFrom<SerializedBytes> for AppEntryDef
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(sb: SerializedBytes) -> Result<AppEntryDef, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<AppEntryDef, SerializedBytesError>
Performs the conversion.
impl Eq for AppEntryDef
impl StructuralPartialEq for AppEntryDef
Auto Trait Implementations§
impl Freeze for AppEntryDef
impl RefUnwindSafe for AppEntryDef
impl Send for AppEntryDef
impl Sync for AppEntryDef
impl Unpin for AppEntryDef
impl UnwindSafe for AppEntryDef
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§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.
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
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> Upcastable for T
impl<T> Upcastable for T
source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref