pub struct StringBool(pub bool);
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl Clone for StringBool
impl Clone for StringBool
Source§fn clone(&self) -> StringBool
fn clone(&self) -> StringBool
Returns a duplicate 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 StringBool
impl Debug for StringBool
Source§impl Default for StringBool
impl Default for StringBool
Source§fn default() -> StringBool
fn default() -> StringBool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringBool
impl<'de> Deserialize<'de> for StringBool
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 StringBool
impl Display for StringBool
Source§impl From<bool> for StringBool
impl From<bool> for StringBool
Source§impl FromStr for StringBool
impl FromStr for StringBool
Source§impl Hash for StringBool
impl Hash for StringBool
Source§impl Ord for StringBool
impl Ord for StringBool
Source§fn cmp(&self, other: &StringBool) -> Ordering
fn cmp(&self, other: &StringBool) -> 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 StringBool
impl PartialEq for StringBool
Source§impl PartialOrd for StringBool
impl PartialOrd for StringBool
impl Copy for StringBool
impl Eq for StringBool
impl StructuralPartialEq for StringBool
Auto Trait Implementations§
impl Freeze for StringBool
impl RefUnwindSafe for StringBool
impl Send for StringBool
impl Sync for StringBool
impl Unpin for StringBool
impl UnwindSafe for StringBool
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