pub struct KeywordNameComponent {
pub name: Bytes,
}
Fields§
§name: Bytes
Implementations§
Trait Implementations§
Source§impl AsMut<Bytes> for KeywordNameComponent
impl AsMut<Bytes> for KeywordNameComponent
Source§impl AsRef<Bytes> for KeywordNameComponent
impl AsRef<Bytes> for KeywordNameComponent
Source§impl Clone for KeywordNameComponent
impl Clone for KeywordNameComponent
Source§fn clone(&self) -> KeywordNameComponent
fn clone(&self) -> KeywordNameComponent
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 moreSource§impl Debug for KeywordNameComponent
impl Debug for KeywordNameComponent
Source§impl From<Bytes> for KeywordNameComponent
impl From<Bytes> for KeywordNameComponent
Source§fn from(original: Bytes) -> KeywordNameComponent
fn from(original: Bytes) -> KeywordNameComponent
Converts to this type from the input type.
Source§impl From<KeywordNameComponent> for Bytes
impl From<KeywordNameComponent> for Bytes
Source§fn from(original: KeywordNameComponent) -> Self
fn from(original: KeywordNameComponent) -> Self
Converts to this type from the input type.
Source§impl From<KeywordNameComponent> for NameComponent
impl From<KeywordNameComponent> for NameComponent
Source§fn from(original: KeywordNameComponent) -> NameComponent
fn from(original: KeywordNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl Hash for KeywordNameComponent
impl Hash for KeywordNameComponent
Source§impl PartialEq for KeywordNameComponent
impl PartialEq for KeywordNameComponent
Source§impl Tlv for KeywordNameComponent
impl Tlv for KeywordNameComponent
Source§fn inner_size(&self) -> usize
fn inner_size(&self) -> usize
The size of the payload contained within this TLV Read more
Source§fn critical() -> bool
fn critical() -> bool
Whether the TLV is critical, see
tlv_critical
Source§impl TlvDecode for KeywordNameComponent
impl TlvDecode for KeywordNameComponent
Source§impl TlvEncode for KeywordNameComponent
impl TlvEncode for KeywordNameComponent
impl Eq for KeywordNameComponent
impl StructuralPartialEq for KeywordNameComponent
Auto Trait Implementations§
impl !Freeze for KeywordNameComponent
impl RefUnwindSafe for KeywordNameComponent
impl Send for KeywordNameComponent
impl Sync for KeywordNameComponent
impl Unpin for KeywordNameComponent
impl UnwindSafe for KeywordNameComponent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more