pub struct ReasonValue { /* private fields */ }Expand description
One RFC 3326 Reason value.
Implementations§
Trait Implementations§
Source§impl Clone for ReasonValue
impl Clone for ReasonValue
Source§fn clone(&self) -> ReasonValue
fn clone(&self) -> ReasonValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReasonValue
impl Debug for ReasonValue
Source§impl From<ReasonValue> for Reason
impl From<ReasonValue> for Reason
Source§fn from(value: ReasonValue) -> Self
fn from(value: ReasonValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReasonValue
impl PartialEq for ReasonValue
Source§fn eq(&self, other: &ReasonValue) -> bool
fn eq(&self, other: &ReasonValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReasonValue
impl StructuralPartialEq for ReasonValue
Auto Trait Implementations§
impl Freeze for ReasonValue
impl RefUnwindSafe for ReasonValue
impl Send for ReasonValue
impl Sync for ReasonValue
impl Unpin for ReasonValue
impl UnsafeUnpin for ReasonValue
impl UnwindSafe for ReasonValue
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