pub struct SerdeStructAttributes {
pub rename_all: Option<String>,
}Expand description
Struct-level serde attributes
Fields§
§rename_all: Option<String>Trait Implementations§
Source§impl Clone for SerdeStructAttributes
impl Clone for SerdeStructAttributes
Source§fn clone(&self) -> SerdeStructAttributes
fn clone(&self) -> SerdeStructAttributes
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 Debug for SerdeStructAttributes
impl Debug for SerdeStructAttributes
Source§impl Default for SerdeStructAttributes
impl Default for SerdeStructAttributes
Source§fn default() -> SerdeStructAttributes
fn default() -> SerdeStructAttributes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SerdeStructAttributes
impl RefUnwindSafe for SerdeStructAttributes
impl Send for SerdeStructAttributes
impl Sync for SerdeStructAttributes
impl Unpin for SerdeStructAttributes
impl UnwindSafe for SerdeStructAttributes
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