pub enum StringOrBool {
String(String),
Bool(bool),
}
Variants§
Trait Implementations§
Source§impl Clone for StringOrBool
impl Clone for StringOrBool
Source§fn clone(&self) -> StringOrBool
fn clone(&self) -> StringOrBool
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 StringOrBool
impl Debug for StringOrBool
Source§impl<'de> Deserialize<'de> for StringOrBool
impl<'de> Deserialize<'de> for StringOrBool
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 StringOrBool
impl Display for StringOrBool
Auto Trait Implementations§
impl Freeze for StringOrBool
impl RefUnwindSafe for StringOrBool
impl Send for StringOrBool
impl Sync for StringOrBool
impl Unpin for StringOrBool
impl UnwindSafe for StringOrBool
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