pub enum StringOrStringValue {
StringValue(StringValue),
String(String),
}Variants§
StringValue(StringValue)
String(String)
Trait Implementations§
Source§impl Clone for StringOrStringValue
impl Clone for StringOrStringValue
Source§fn clone(&self) -> StringOrStringValue
fn clone(&self) -> StringOrStringValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StringOrStringValue
impl Debug for StringOrStringValue
Source§impl<'de> Deserialize<'de> for StringOrStringValue
impl<'de> Deserialize<'de> for StringOrStringValue
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 PartialEq for StringOrStringValue
impl PartialEq for StringOrStringValue
Source§fn eq(&self, other: &StringOrStringValue) -> bool
fn eq(&self, other: &StringOrStringValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StringOrStringValue
impl Serialize for StringOrStringValue
impl StructuralPartialEq for StringOrStringValue
Auto Trait Implementations§
impl Freeze for StringOrStringValue
impl RefUnwindSafe for StringOrStringValue
impl Send for StringOrStringValue
impl Sync for StringOrStringValue
impl Unpin for StringOrStringValue
impl UnsafeUnpin for StringOrStringValue
impl UnwindSafe for StringOrStringValue
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