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