pub struct ReservationToken(/* private fields */);Expand description
RESERVATION-TOKEN attribute.
See RFC 5766 – 14.9. RESERVATION-TOKEN about this attribute.
Implementations§
Trait Implementations§
Source§impl Attribute for ReservationToken
impl Attribute for ReservationToken
Source§type Decoder = ReservationTokenDecoder
type Decoder = ReservationTokenDecoder
The decoder of the value part of the attribute.
Source§type Encoder = ReservationTokenEncoder
type Encoder = ReservationTokenEncoder
The encoder of the value part of the attribute.
Source§fn get_type(&self) -> AttributeType
fn get_type(&self) -> AttributeType
Returns the type of the attribute.
Source§impl Clone for ReservationToken
impl Clone for ReservationToken
Source§fn clone(&self) -> ReservationToken
fn clone(&self) -> ReservationToken
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 ReservationToken
impl Debug for ReservationToken
Source§impl From<ReservationToken> for Attribute
impl From<ReservationToken> for Attribute
Source§fn from(f: ReservationToken) -> Self
fn from(f: ReservationToken) -> Self
Converts to this type from the input type.
Source§impl Hash for ReservationToken
impl Hash for ReservationToken
Source§impl PartialEq for ReservationToken
impl PartialEq for ReservationToken
Source§impl TryAsRef<ReservationToken> for Attribute
impl TryAsRef<ReservationToken> for Attribute
Source§fn try_as_ref(&self) -> Option<&ReservationToken>
fn try_as_ref(&self) -> Option<&ReservationToken>
impl Eq for ReservationToken
impl StructuralPartialEq for ReservationToken
Auto Trait Implementations§
impl Freeze for ReservationToken
impl RefUnwindSafe for ReservationToken
impl Send for ReservationToken
impl Sync for ReservationToken
impl Unpin for ReservationToken
impl UnwindSafe for ReservationToken
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