pub struct Field {
pub ty: Type,
pub flattened: bool,
pub aliases: &'static [&'static str],
}
Fields§
§ty: Type
Type of this field
flattened: bool
Whether this field should get flattened (i.e. #[serde(flatten)]
)
aliases: &'static [&'static str]
The serde aliases for this field
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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