pub struct FieldAnnotation {
pub rename: Option<String>,
pub skip: bool,
pub type_: Option<String>,
pub visibility: Visibility,
}Fields§
§rename: Option<String>What to rename the field to
skip: boolWhether to skip this field
type_: Option<String>The Rust type of the field to overwrite to
visibility: VisibilityThe visibility of the field
Trait Implementations§
Source§impl Debug for FieldAnnotation
impl Debug for FieldAnnotation
Source§impl Default for FieldAnnotation
impl Default for FieldAnnotation
Source§fn default() -> FieldAnnotation
fn default() -> FieldAnnotation
Returns the “default value” for a type. Read more
Source§impl From<&String> for FieldAnnotation
impl From<&String> for FieldAnnotation
Source§impl From<String> for FieldAnnotation
impl From<String> for FieldAnnotation
Auto Trait Implementations§
impl Freeze for FieldAnnotation
impl RefUnwindSafe for FieldAnnotation
impl Send for FieldAnnotation
impl Sync for FieldAnnotation
impl Unpin for FieldAnnotation
impl UnwindSafe for FieldAnnotation
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