pub struct ApiField {
pub ident: Option<Ident>,
pub ty: Type,
pub table_skip: bool,
pub table_format: Option<FieldFormat>,
}
Fields§
§ident: Option<Ident>
§ty: Type
§table_skip: bool
the field won’t appears when display as the table
table_format: Option<FieldFormat>
Format of the field
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiField
impl RefUnwindSafe for ApiField
impl !Send for ApiField
impl !Sync for ApiField
impl Unpin for ApiField
impl UnwindSafe for ApiField
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