Struct everscale_network::proto::dht::ValueOwned
source · pub struct ValueOwned {
pub key: KeyDescriptionOwned,
pub value: Bytes,
pub ttl: u32,
pub signature: Bytes,
}Fields§
§key: KeyDescriptionOwned§value: Bytes§ttl: u32§signature: BytesImplementations§
source§impl ValueOwned
impl ValueOwned
pub fn as_equivalent_ref(&self) -> Value<'_>
Trait Implementations§
source§impl BoxedConstructor for ValueOwned
impl BoxedConstructor for ValueOwned
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 Clone for ValueOwned
impl Clone for ValueOwned
source§fn clone(&self) -> ValueOwned
fn clone(&self) -> ValueOwned
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more