Struct sea_schema::postgres::def::IntervalAttr
source ยท pub struct IntervalAttr {
pub field: Option<String>,
pub precision: Option<u16>,
}Available on crate features
postgres and def only.Fieldsยง
ยงfield: Option<String>ยงprecision: Option<u16>Trait Implementationsยง
sourceยงimpl Clone for IntervalAttr
impl Clone for IntervalAttr
sourceยงfn clone(&self) -> IntervalAttr
fn clone(&self) -> IntervalAttr
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceยงimpl Debug for IntervalAttr
impl Debug for IntervalAttr
sourceยงimpl Default for IntervalAttr
impl Default for IntervalAttr
sourceยงfn default() -> IntervalAttr
fn default() -> IntervalAttr
Returns the โdefault valueโ for a type. Read more
sourceยงimpl PartialEq for IntervalAttr
impl PartialEq for IntervalAttr
sourceยงfn eq(&self, other: &IntervalAttr) -> bool
fn eq(&self, other: &IntervalAttr) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IntervalAttr
Auto Trait Implementationsยง
impl RefUnwindSafe for IntervalAttr
impl Send for IntervalAttr
impl Sync for IntervalAttr
impl Unpin for IntervalAttr
impl UnwindSafe for IntervalAttr
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