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 duplicate 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
impl StructuralPartialEq for IntervalAttr
Auto Trait Implementations§
impl Freeze for IntervalAttr
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