pub struct EntryDefBufferKey {
pub zome: IntegrityZomeDef,
pub entry_def_position: EntryDefIndex,
}Expand description
Key for the EntryDef buffer
Fields§
§zome: IntegrityZomeDefThe zome to which this entry def belongs
entry_def_position: EntryDefIndexThe index, for ordering
Implementations§
Source§impl EntryDefBufferKey
impl EntryDefBufferKey
Sourcepub fn new(zome: IntegrityZomeDef, entry_def_position: EntryDefIndex) -> Self
pub fn new(zome: IntegrityZomeDef, entry_def_position: EntryDefIndex) -> Self
Create a new key
Trait Implementations§
Source§impl Clone for EntryDefBufferKey
impl Clone for EntryDefBufferKey
Source§fn clone(&self) -> EntryDefBufferKey
fn clone(&self) -> EntryDefBufferKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EntryDefBufferKey
impl Debug for EntryDefBufferKey
Source§impl<'de> Deserialize<'de> for EntryDefBufferKey
impl<'de> Deserialize<'de> for EntryDefBufferKey
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
impl Eq for EntryDefBufferKey
Source§impl Hash for EntryDefBufferKey
impl Hash for EntryDefBufferKey
Source§impl Ord for EntryDefBufferKey
impl Ord for EntryDefBufferKey
Source§fn cmp(&self, other: &EntryDefBufferKey) -> Ordering
fn cmp(&self, other: &EntryDefBufferKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EntryDefBufferKey
impl PartialEq for EntryDefBufferKey
Source§impl PartialOrd for EntryDefBufferKey
impl PartialOrd for EntryDefBufferKey
Source§impl Serialize for EntryDefBufferKey
impl Serialize for EntryDefBufferKey
impl StructuralPartialEq for EntryDefBufferKey
Source§impl TryFrom<&EntryDefBufferKey> for SerializedBytes
impl TryFrom<&EntryDefBufferKey> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
t: &EntryDefBufferKey,
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: &EntryDefBufferKey, ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<EntryDefBufferKey> for SerializedBytes
impl TryFrom<EntryDefBufferKey> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
t: EntryDefBufferKey,
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: EntryDefBufferKey, ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<SerializedBytes> for EntryDefBufferKey
impl TryFrom<SerializedBytes> for EntryDefBufferKey
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
sb: SerializedBytes,
) -> Result<EntryDefBufferKey, SerializedBytesError>
fn try_from( sb: SerializedBytes, ) -> Result<EntryDefBufferKey, SerializedBytesError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EntryDefBufferKey
impl RefUnwindSafe for EntryDefBufferKey
impl Send for EntryDefBufferKey
impl Sync for EntryDefBufferKey
impl Unpin for EntryDefBufferKey
impl UnsafeUnpin for EntryDefBufferKey
impl UnwindSafe for EntryDefBufferKey
Blanket Implementations§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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<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 more