pub struct ReasonCodeV1(/* private fields */);Expand description
Stable, machine-readable reason: [a-z][a-z0-9_.]{2,63}.
Implementations§
Trait Implementations§
Source§impl Clone for ReasonCodeV1
impl Clone for ReasonCodeV1
Source§impl Debug for ReasonCodeV1
impl Debug for ReasonCodeV1
Source§impl<'de> Deserialize<'de> for ReasonCodeV1
impl<'de> Deserialize<'de> for ReasonCodeV1
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReasonCodeV1
Source§impl Hash for ReasonCodeV1
impl Hash for ReasonCodeV1
Source§impl Ord for ReasonCodeV1
impl Ord for ReasonCodeV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReasonCodeV1
impl PartialEq for ReasonCodeV1
Source§impl PartialOrd for ReasonCodeV1
impl PartialOrd for ReasonCodeV1
Source§impl Serialize for ReasonCodeV1
impl Serialize for ReasonCodeV1
impl StructuralPartialEq for ReasonCodeV1
Auto Trait Implementations§
impl Freeze for ReasonCodeV1
impl RefUnwindSafe for ReasonCodeV1
impl Send for ReasonCodeV1
impl Sync for ReasonCodeV1
impl Unpin for ReasonCodeV1
impl UnsafeUnpin for ReasonCodeV1
impl UnwindSafe for ReasonCodeV1
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