Struct everscale_network::proto::dht::ValueOwned
source · [−]pub struct ValueOwned {
pub key: KeyDescriptionOwned,
pub value: Bytes,
pub ttl: u32,
pub signature: Bytes,
}Fields
key: KeyDescriptionOwnedvalue: Bytesttl: u32signature: BytesImplementations
sourceimpl ValueOwned
impl ValueOwned
pub fn as_equivalent_ref(&self) -> Value<'_>
Trait Implementations
sourceimpl BoxedConstructor for ValueOwned
impl BoxedConstructor for ValueOwned
const TL_ID: u32 = 2_427_267_019u32
sourcefn as_boxed(&self) -> BoxedWrapper<&Self>
fn as_boxed(&self) -> BoxedWrapper<&Self>
Wraps bare type reference into
BoxedWrappersourcefn into_boxed(self) -> BoxedWrapper<Self>
fn into_boxed(self) -> BoxedWrapper<Self>
Converts bare type into
BoxedWrappersourceimpl Clone for ValueOwned
impl Clone for ValueOwned
sourcefn clone(&self) -> ValueOwned
fn clone(&self) -> ValueOwned
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ValueOwned
impl Debug for ValueOwned
sourceimpl<'tl> TlRead<'tl> for ValueOwned
impl<'tl> TlRead<'tl> for ValueOwned
Auto Trait Implementations
impl RefUnwindSafe for ValueOwned
impl Send for ValueOwned
impl Sync for ValueOwned
impl Unpin for ValueOwned
impl UnwindSafe for ValueOwned
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more