pub struct DiffString(pub Option<String>);
๐Deprecated since 0.5.0: diff chain features are slated for removal
Expand description
The Diff Type for a String
type.
Tuple Fieldsยง
ยง0: Option<String>
๐Deprecated since 0.5.0: diff chain features are slated for removal
Trait Implementationsยง
Sourceยงimpl Clone for DiffString
impl Clone for DiffString
Sourceยงfn clone(&self) -> DiffString
fn clone(&self) -> DiffString
Returns a copy 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 DiffString
Debug trait implementation for DiffString.
impl Debug for DiffString
Debug trait implementation for DiffString.
Sourceยงimpl Default for DiffString
impl Default for DiffString
Sourceยงfn default() -> DiffString
fn default() -> DiffString
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for DiffString
impl<'de> Deserialize<'de> for DiffString
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 Hash for DiffString
impl Hash for DiffString
Sourceยงimpl Ord for DiffString
impl Ord for DiffString
Sourceยงfn cmp(&self, other: &DiffString) -> Ordering
fn cmp(&self, other: &DiffString) -> Ordering
1.21.0 ยท 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 DiffString
impl PartialEq for DiffString
Sourceยงimpl PartialOrd for DiffString
impl PartialOrd for DiffString
Sourceยงimpl Serialize for DiffString
impl Serialize for DiffString
impl Eq for DiffString
impl StructuralPartialEq for DiffString
Auto Trait Implementationsยง
impl Freeze for DiffString
impl RefUnwindSafe for DiffString
impl Send for DiffString
impl Sync for DiffString
impl Unpin for DiffString
impl UnwindSafe for DiffString
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