pub struct SerializeStructShape {
pub style: FieldsStyle,
pub fields: Vec<SerializeFieldShape>,
pub attributes: SerializeContainerAttributes,
}Expand description
Struct-like serialization metadata.
Fields§
§style: FieldsStyleThe struct field style.
fields: Vec<SerializeFieldShape>The serialized fields.
attributes: SerializeContainerAttributesContainer-level Serde serialization attributes.
Trait Implementations§
Source§impl Clone for SerializeStructShape
impl Clone for SerializeStructShape
Source§fn clone(&self) -> SerializeStructShape
fn clone(&self) -> SerializeStructShape
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 SerializeStructShape
impl Debug for SerializeStructShape
impl Eq for SerializeStructShape
Source§impl PartialEq for SerializeStructShape
impl PartialEq for SerializeStructShape
impl StructuralPartialEq for SerializeStructShape
Auto Trait Implementations§
impl Freeze for SerializeStructShape
impl RefUnwindSafe for SerializeStructShape
impl Send for SerializeStructShape
impl Sync for SerializeStructShape
impl Unpin for SerializeStructShape
impl UnsafeUnpin for SerializeStructShape
impl UnwindSafe for SerializeStructShape
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