pub struct SafeDisplayText(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for SafeDisplayText
impl Clone for SafeDisplayText
Source§fn clone(&self) -> SafeDisplayText
fn clone(&self) -> SafeDisplayText
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 SafeDisplayText
impl Debug for SafeDisplayText
Source§impl Default for SafeDisplayText
impl Default for SafeDisplayText
Source§fn default() -> SafeDisplayText
fn default() -> SafeDisplayText
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SafeDisplayText
impl<'de> Deserialize<'de> for SafeDisplayText
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 SafeDisplayText
impl Display for SafeDisplayText
impl Eq for SafeDisplayText
Source§impl Hash for SafeDisplayText
impl Hash for SafeDisplayText
Source§impl JsonSchema for SafeDisplayText
impl JsonSchema for SafeDisplayText
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 SafeDisplayText
impl Ord for SafeDisplayText
Source§fn cmp(&self, other: &SafeDisplayText) -> Ordering
fn cmp(&self, other: &SafeDisplayText) -> 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 SafeDisplayText
impl PartialEq for SafeDisplayText
Source§fn eq(&self, other: &SafeDisplayText) -> bool
fn eq(&self, other: &SafeDisplayText) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SafeDisplayText
impl PartialOrd for SafeDisplayText
Source§impl Serialize for SafeDisplayText
impl Serialize for SafeDisplayText
impl StructuralPartialEq for SafeDisplayText
Auto Trait Implementations§
impl Freeze for SafeDisplayText
impl RefUnwindSafe for SafeDisplayText
impl Send for SafeDisplayText
impl Sync for SafeDisplayText
impl Unpin for SafeDisplayText
impl UnsafeUnpin for SafeDisplayText
impl UnwindSafe for SafeDisplayText
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