pub type ScopedEntryDefIndex = ScopedZomeType<EntryDefIndex>;
Expand description

An EntryDefIndex within the scope of the zome where it’s defined.

Aliased Type§

struct ScopedEntryDefIndex {
    pub zome_index: ZomeIndex,
    pub zome_type: EntryDefIndex,
}

Fields§

§zome_index: ZomeIndex

The zome that defines this type.

§zome_type: EntryDefIndex

The type that is defined.

Trait Implementations§

§

impl<T> Clone for ScopedZomeType<T>where T: Clone,

§

fn clone(&self) -> ScopedZomeType<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<T> Debug for ScopedZomeType<T>where T: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, T> Deserialize<'de> for ScopedZomeType<T>where T: Deserialize<'de>,

§

fn deserialize<__D>( __deserializer: __D ) -> Result<ScopedZomeType<T>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<T> Hash for ScopedZomeType<T>where T: Hash,

§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

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

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

impl<T> Ord for ScopedZomeType<T>where T: Ord,

§

fn cmp(&self, other: &ScopedZomeType<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
§

impl<T> PartialEq<ScopedZomeType<T>> for ScopedZomeType<T>where T: PartialEq<T>,

§

fn eq(&self, other: &ScopedZomeType<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl<T> PartialOrd<ScopedZomeType<T>> for ScopedZomeType<T>where T: PartialOrd<T>,

§

fn partial_cmp(&self, other: &ScopedZomeType<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl<T> Serialize for ScopedZomeType<T>where T: Serialize,

§

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<T> Copy for ScopedZomeType<T>where T: Copy,

§

impl<T> Eq for ScopedZomeType<T>where T: Eq,

§

impl<T> StructuralEq for ScopedZomeType<T>

§

impl<T> StructuralPartialEq for ScopedZomeType<T>