[][src]Enum holochain_core_types::entry::entry_type::EntryType

pub enum EntryType {
    App(AppEntryType),
    Dna,
    AgentId,
    Deletion,
    LinkAdd,
    LinkRemove,
    LinkList,
    ChainHeader,
    ChainMigrate,
    CapTokenGrant,
    CapToken,
}

Variants

App(AppEntryType)DnaAgentIdDeletionLinkAddLinkRemoveLinkListChainHeaderChainMigrateCapTokenGrantCapToken

Methods

impl EntryType[src]

pub fn is_app(&self) -> bool[src]

pub fn is_sys(&self) -> bool[src]

pub fn can_publish(&self) -> bool[src]

pub fn has_valid_app_name(entry_type_name: &str) -> bool[src]

Checks entry_type_name is valid

Trait Implementations

impl PartialEq<EntryType> for EntryType[src]

impl<'a> From<&'a EntryType> for JsonString[src]

impl From<EntryType> for JsonString[src]

impl From<AppEntryType> for EntryType[src]

impl From<EntryType> for String[src]

impl From<String> for EntryType[src]

impl From<&'static str> for EntryType[src]

impl Clone for EntryType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for EntryType[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Eq for EntryType[src]

impl PartialOrd<EntryType> for EntryType[src]

impl Debug for EntryType[src]

impl Display for EntryType[src]

impl Hash for EntryType[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for EntryType[src]

type Err = usize

The associated error which can be returned from parsing.

impl<'a> TryFrom<&'a JsonString> for EntryType[src]

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl TryFrom<JsonString> for EntryType[src]

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl TryFrom<EntryType> for AppEntryType[src]

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl Serialize for EntryType[src]

impl<'de> Deserialize<'de> for EntryType[src]

Auto Trait Implementations

impl Send for EntryType

impl Sync for EntryType

Blanket Implementations

impl<T> From for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Clone for T where
    T: Clone
[src]