pub struct TupleVariantBuilder {
variant: &'static str,
items: Vec<Value>,
}Expand description
Accumulates elements for an externally-tagged tuple variant.
Fields§
§variant: &'static str§items: Vec<Value>Trait Implementations§
Source§impl SerializeTupleVariant for TupleVariantBuilder
impl SerializeTupleVariant for TupleVariantBuilder
Auto Trait Implementations§
impl Freeze for TupleVariantBuilder
impl RefUnwindSafe for TupleVariantBuilder
impl Send for TupleVariantBuilder
impl Sync for TupleVariantBuilder
impl Unpin for TupleVariantBuilder
impl UnsafeUnpin for TupleVariantBuilder
impl UnwindSafe for TupleVariantBuilder
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