Struct sqlx_model_tools::DataField
source · [−]pub struct DataField {
pub field_name: String,
pub type_name: String,
pub is_null: bool,
pub is_pk: bool,
pub default: Option<String>,
pub comment: String,
}Fields
field_name: Stringtype_name: Stringis_null: boolis_pk: booldefault: Option<String>comment: StringTrait Implementations
impl StructuralPartialEq for DataField
Auto Trait Implementations
impl RefUnwindSafe for DataField
impl Send for DataField
impl Sync for DataField
impl Unpin for DataField
impl UnwindSafe for DataField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more