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