Struct everscale_network::proto::dht::Key
source · pub struct Key<'tl> {
pub id: HashRef<'tl>,
pub name: &'tl [u8],
pub idx: u32,
}Fields§
§id: HashRef<'tl>§name: &'tl [u8]§idx: u32Implementations§
Trait Implementations§
source§impl BoxedConstructor for Key<'_>
impl BoxedConstructor for Key<'_>
source§fn as_boxed(&self) -> BoxedWrapper<&Self>
fn as_boxed(&self) -> BoxedWrapper<&Self>
Wraps bare type reference into
BoxedWrapper.source§fn into_boxed(self) -> BoxedWrapper<Self>
fn into_boxed(self) -> BoxedWrapper<Self>
Converts bare type into
BoxedWrapper.source§impl<'tl> PartialEq<Key<'tl>> for Key<'tl>
impl<'tl> PartialEq<Key<'tl>> for Key<'tl>
impl<'tl> Copy for Key<'tl>
impl<'tl> Eq for Key<'tl>
impl<'tl> StructuralEq for Key<'tl>
impl<'tl> StructuralPartialEq for Key<'tl>
Auto Trait Implementations§
impl<'tl> RefUnwindSafe for Key<'tl>
impl<'tl> Send for Key<'tl>
impl<'tl> Sync for Key<'tl>
impl<'tl> Unpin for Key<'tl>
impl<'tl> UnwindSafe for Key<'tl>
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