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