Struct holochain_integrity_types::link::LinkTag
source · Expand description
Opaque tag for the link applied at the app layer, used to differentiate between different semantics and validation rules for different links
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LinkTag
impl<'de> Deserialize<'de> for LinkTag
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
source§impl Ord for LinkTag
impl Ord for LinkTag
source§impl PartialOrd<LinkTag> for LinkTag
impl PartialOrd<LinkTag> for LinkTag
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moresource§impl TryFrom<&LinkTag> for SerializedBytes
impl TryFrom<&LinkTag> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &LinkTag) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<LinkTag> for SerializedBytes
impl TryFrom<LinkTag> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: LinkTag) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for LinkTag
impl TryFrom<SerializedBytes> for LinkTag
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<LinkTag, SerializedBytesError>
Performs the conversion.
impl Eq for LinkTag
impl StructuralEq for LinkTag
impl StructuralPartialEq for LinkTag
Auto Trait Implementations§
impl RefUnwindSafe for LinkTag
impl Send for LinkTag
impl Sync for LinkTag
impl Unpin for LinkTag
impl UnwindSafe for LinkTag
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.