pub struct SafeErrorMessage(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for SafeErrorMessage
impl Clone for SafeErrorMessage
Source§fn clone(&self) -> SafeErrorMessage
fn clone(&self) -> SafeErrorMessage
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 SafeErrorMessage
impl Debug for SafeErrorMessage
Source§impl<'de> Deserialize<'de> for SafeErrorMessage
impl<'de> Deserialize<'de> for SafeErrorMessage
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SafeErrorMessage
impl Display for SafeErrorMessage
impl Eq for SafeErrorMessage
Source§impl Hash for SafeErrorMessage
impl Hash for SafeErrorMessage
Source§impl JsonSchema for SafeErrorMessage
impl JsonSchema for SafeErrorMessage
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for SafeErrorMessage
impl Ord for SafeErrorMessage
Source§fn cmp(&self, other: &SafeErrorMessage) -> Ordering
fn cmp(&self, other: &SafeErrorMessage) -> Ordering
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
Source§impl PartialEq for SafeErrorMessage
impl PartialEq for SafeErrorMessage
Source§fn eq(&self, other: &SafeErrorMessage) -> bool
fn eq(&self, other: &SafeErrorMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SafeErrorMessage
impl PartialOrd for SafeErrorMessage
Source§impl Serialize for SafeErrorMessage
impl Serialize for SafeErrorMessage
impl StructuralPartialEq for SafeErrorMessage
Auto Trait Implementations§
impl Freeze for SafeErrorMessage
impl RefUnwindSafe for SafeErrorMessage
impl Send for SafeErrorMessage
impl Sync for SafeErrorMessage
impl Unpin for SafeErrorMessage
impl UnsafeUnpin for SafeErrorMessage
impl UnwindSafe for SafeErrorMessage
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