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

pub struct LinkedFrom {
    pub base_type: String,
    pub link_type: String,
}

An a definition of a link from another type (including anchors and system hashes) to the entry type it is part of.

Fields

base_type: String

The target_type of this links_to entry

link_type: String

The link_type of this links_to entry

Methods

impl LinkedFrom[src]

pub fn new() -> Self[src]

Allow sane defaults for LinkedFrom::new().

Trait Implementations

impl Clone for LinkedFrom[src]

impl Debug for LinkedFrom[src]

impl Default for LinkedFrom[src]

fn default() -> Self[src]

Provide defaults for a "links_to" object.

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

impl Hash for LinkedFrom[src]

impl PartialEq<LinkedFrom> for LinkedFrom[src]

impl Serialize for LinkedFrom[src]

impl StructuralPartialEq for LinkedFrom[src]

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: 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>,