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