pub struct FieldAttrs {
pub column_name: Option<String>,
pub optional: bool,
pub coerce: bool,
pub skip: bool,
}Expand description
Field attributes from #[frame(…)].
Fields§
§column_name: Option<String>§optional: bool§coerce: bool§skip: boolTrait Implementations§
Source§impl Default for FieldAttrs
impl Default for FieldAttrs
Source§fn default() -> FieldAttrs
fn default() -> FieldAttrs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FieldAttrs
impl RefUnwindSafe for FieldAttrs
impl Send for FieldAttrs
impl Sync for FieldAttrs
impl Unpin for FieldAttrs
impl UnsafeUnpin for FieldAttrs
impl UnwindSafe for FieldAttrs
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