pub struct BoolString(/* private fields */);
Implementations§
source§impl BoolString
impl BoolString
pub fn opt_true() -> Option<BoolString>
pub fn opt_false() -> Option<BoolString>
pub fn _true() -> BoolString
pub fn _false() -> BoolString
pub fn is_empty(&self) -> bool
Trait Implementations§
source§impl Clone for BoolString
impl Clone for BoolString
source§fn clone(&self) -> BoolString
fn clone(&self) -> BoolString
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 BoolString
impl Debug for BoolString
source§impl Default for BoolString
impl Default for BoolString
source§fn default() -> BoolString
fn default() -> BoolString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BoolString
impl<'de> Deserialize<'de> for BoolString
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<T: Display> From<T> for BoolString
impl<T: Display> From<T> for BoolString
source§impl Ord for BoolString
impl Ord for BoolString
source§fn cmp(&self, other: &BoolString) -> Ordering
fn cmp(&self, other: &BoolString) -> 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 BoolString
impl PartialEq for BoolString
source§impl PartialOrd for BoolString
impl PartialOrd for BoolString
source§impl Serialize for BoolString
impl Serialize for BoolString
impl Eq for BoolString
impl StructuralPartialEq for BoolString
Auto Trait Implementations§
impl Freeze for BoolString
impl RefUnwindSafe for BoolString
impl Send for BoolString
impl Sync for BoolString
impl Unpin for BoolString
impl UnwindSafe for BoolString
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)