pub enum UnexpectedOwned {
}
Variants§
Bool(bool)
Unsigned(u128)
Signed(i128)
Float(f64)
Char(char)
Str(String)
Bytes(Vec<u8>)
Unit
Option
NewtypeStruct
Seq
Map
Enum
UnitVariant
NewtypeVariant
TupleVariant
StructVariant
Other(String)
Trait Implementations§
source§impl Clone for UnexpectedOwned
impl Clone for UnexpectedOwned
source§fn clone(&self) -> UnexpectedOwned
fn clone(&self) -> UnexpectedOwned
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 UnexpectedOwned
impl Debug for UnexpectedOwned
source§impl Display for UnexpectedOwned
impl Display for UnexpectedOwned
source§impl From<Unexpected<'_>> for UnexpectedOwned
impl From<Unexpected<'_>> for UnexpectedOwned
source§fn from(value: Unexpected<'_>) -> UnexpectedOwned
fn from(value: Unexpected<'_>) -> UnexpectedOwned
Converts to this type from the input type.
source§impl PartialEq for UnexpectedOwned
impl PartialEq for UnexpectedOwned
source§fn eq(&self, other: &UnexpectedOwned) -> bool
fn eq(&self, other: &UnexpectedOwned) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnexpectedOwned
Auto Trait Implementations§
impl RefUnwindSafe for UnexpectedOwned
impl Send for UnexpectedOwned
impl Sync for UnexpectedOwned
impl Unpin for UnexpectedOwned
impl UnwindSafe for UnexpectedOwned
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