pub(crate) struct TupleVariant {
values: Vec<Value>,
variant: &'static str,
prime: Serializer,
}Fields§
§values: Vec<Value>§variant: &'static str§prime: SerializerImplementations§
Source§impl TupleVariant
impl TupleVariant
fn new(prime: Serializer, variant: &'static str) -> Self
Trait Implementations§
Source§impl Clone for TupleVariant
impl Clone for TupleVariant
Source§fn clone(&self) -> TupleVariant
fn clone(&self) -> TupleVariant
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<'a> SerializeTupleVariant for &'a mut TupleVariant
impl<'a> SerializeTupleVariant for &'a mut TupleVariant
Auto Trait Implementations§
impl Freeze for TupleVariant
impl !RefUnwindSafe for TupleVariant
impl !Send for TupleVariant
impl !Sync for TupleVariant
impl Unpin for TupleVariant
impl !UnwindSafe for TupleVariant
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