pub struct Field {
pub name: String,
pub serialized_name: String,
pub ty: FieldType,
}
Expand description
A field within a struct
Fields§
§name: String
The name of the field in rust. If the field is un-named this will be a number.
serialized_name: String
The name of the field when serialized.
ty: FieldType
The type of the field
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
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