[][src]Struct holochain_core_types::dna::entry_types::EntryTypeDef

pub struct EntryTypeDef {
    pub properties: JsonString,
    pub sharing: Sharing,
    pub links_to: Vec<LinksTo>,
    pub linked_from: Vec<LinkedFrom>,
}

Represents an individual object in the "zome" "entry_types" array.

Fields

properties: JsonString

Metdata associated with this entry def (e.g. description, examples, index/UI hints)

sharing: Sharing

The sharing model of this entry type (public, private, encrypted).

links_to: Vec<LinksTo>

An array of link definitions associated with this entry type

linked_from: Vec<LinkedFrom>

An array of link definitions for links pointing to entries of this type

Implementations

impl EntryTypeDef[src]

pub fn new() -> Self[src]

Allow sane defaults for EntryType::new().

Trait Implementations

impl Clone for EntryTypeDef[src]

impl Debug for EntryTypeDef[src]

impl Default for EntryTypeDef[src]

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

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

impl From<EntryTypeDef> for JsonString[src]

impl Hash for EntryTypeDef[src]

impl PartialEq<EntryTypeDef> for EntryTypeDef[src]

impl Serialize for EntryTypeDef[src]

impl StructuralPartialEq for EntryTypeDef[src]

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

type Error = JsonError

The type returned in the event of a conversion error.

impl TryFrom<JsonString> for EntryTypeDef[src]

type Error = JsonError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,