pub struct ValueOwned {
pub key: KeyDescriptionOwned,
pub value: Bytes,
pub ttl: u32,
pub signature: Bytes,
}
Fields§
§key: KeyDescriptionOwned
§value: Bytes
§ttl: u32
§signature: Bytes
Implementations§
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 duplicate 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 moreSource§impl Debug for ValueOwned
impl Debug for ValueOwned
Source§impl<'tl> TlRead<'tl> for ValueOwned
impl<'tl> TlRead<'tl> for ValueOwned
Auto Trait Implementations§
impl !Freeze for ValueOwned
impl RefUnwindSafe for ValueOwned
impl Send for ValueOwned
impl Sync for ValueOwned
impl Unpin for ValueOwned
impl UnwindSafe for ValueOwned
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