pub struct ExactLink {
pub namespace: [u8; 32],
pub subspace: [u8; 32],
pub path: EntityPath,
}
Expand description
Similar to a [types::Link
], but with a resolved namespace and subspace.
Fields§
§namespace: [u8; 32]
§subspace: [u8; 32]
§path: EntityPath
Trait Implementations§
Source§impl BorshDeserialize for ExactLink
impl BorshDeserialize for ExactLink
fn deserialize_reader<__R>(reader: &mut __R) -> Result<ExactLink, Error>where
__R: Read,
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for ExactLink
impl BorshSerialize for ExactLink
Source§impl Ord for ExactLink
impl Ord for ExactLink
Source§impl PartialOrd for ExactLink
impl PartialOrd for ExactLink
impl Eq for ExactLink
impl StructuralPartialEq for ExactLink
Auto Trait Implementations§
impl Freeze for ExactLink
impl RefUnwindSafe for ExactLink
impl Send for ExactLink
impl Sync for ExactLink
impl Unpin for ExactLink
impl UnwindSafe for ExactLink
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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.