pub struct SerializeContainerAttributes {
pub non_exhaustive: bool,
}Expand description
Container metadata relevant to serialization.
Default represents a container with every optional behavior disabled. Enum tagging is
recorded once in SerializeEnumShape::repr, and flattened fields are identified by
FieldWireShape::Flatten.
Fields§
§non_exhaustive: boolWhether the Rust item is marked #[non_exhaustive].
Trait Implementations§
Source§impl Clone for SerializeContainerAttributes
impl Clone for SerializeContainerAttributes
Source§fn clone(&self) -> SerializeContainerAttributes
fn clone(&self) -> SerializeContainerAttributes
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 SerializeContainerAttributes
impl Debug for SerializeContainerAttributes
Source§impl Default for SerializeContainerAttributes
impl Default for SerializeContainerAttributes
Source§fn default() -> SerializeContainerAttributes
fn default() -> SerializeContainerAttributes
Returns the “default value” for a type. Read more
impl Eq for SerializeContainerAttributes
impl StructuralPartialEq for SerializeContainerAttributes
Auto Trait Implementations§
impl Freeze for SerializeContainerAttributes
impl RefUnwindSafe for SerializeContainerAttributes
impl Send for SerializeContainerAttributes
impl Sync for SerializeContainerAttributes
impl Unpin for SerializeContainerAttributes
impl UnsafeUnpin for SerializeContainerAttributes
impl UnwindSafe for SerializeContainerAttributes
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