pub enum ExtraValue {
Boolean(bool),
String(String),
Int(i64),
}Variants§
Implementations§
Trait Implementations§
Source§impl AsMut<ExtraValue> for ExtraValue
impl AsMut<ExtraValue> for ExtraValue
Source§fn as_mut(&mut self) -> &mut ExtraValue
fn as_mut(&mut self) -> &mut ExtraValue
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ExtraValue> for ExtraValue
impl AsRef<ExtraValue> for ExtraValue
Source§fn as_ref(&self) -> &ExtraValue
fn as_ref(&self) -> &ExtraValue
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ExtraValue
impl Clone for ExtraValue
Source§fn clone(&self) -> ExtraValue
fn clone(&self) -> ExtraValue
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 ExtraValue
impl Debug for ExtraValue
Source§impl<'de> Deserialize<'de> for ExtraValue
impl<'de> Deserialize<'de> for ExtraValue
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 ExtraValue
impl Display for ExtraValue
Source§impl From<&str> for ExtraValue
impl From<&str> for ExtraValue
Source§impl From<String> for ExtraValue
impl From<String> for ExtraValue
Source§impl From<bool> for ExtraValue
impl From<bool> for ExtraValue
Source§impl From<i64> for ExtraValue
impl From<i64> for ExtraValue
Source§impl From<isize> for ExtraValue
impl From<isize> for ExtraValue
Source§impl From<u64> for ExtraValue
impl From<u64> for ExtraValue
Source§impl From<usize> for ExtraValue
impl From<usize> for ExtraValue
Source§impl PartialEq for ExtraValue
impl PartialEq for ExtraValue
impl StructuralPartialEq for ExtraValue
Auto Trait Implementations§
impl Freeze for ExtraValue
impl RefUnwindSafe for ExtraValue
impl Send for ExtraValue
impl Sync for ExtraValue
impl Unpin for ExtraValue
impl UnwindSafe for ExtraValue
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more