pub struct TypeIntervalDay { /* private fields */ }Implementations§
Source§impl TypeIntervalDay
impl TypeIntervalDay
pub fn max_precision<T>(self, value: T) -> TypeIntervalDay
pub fn metadata<T>(self, value: T) -> TypeIntervalDay
pub fn system_metadata<T>(self, value: T) -> TypeIntervalDaywhere
T: TryInto<Option<SystemTypeMetadata>>,
<T as TryInto<Option<SystemTypeMetadata>>>::Error: Display,
pub fn type_<T>(self, value: T) -> TypeIntervalDay
Trait Implementations§
Source§impl Clone for TypeIntervalDay
impl Clone for TypeIntervalDay
Source§fn clone(&self) -> TypeIntervalDay
fn clone(&self) -> TypeIntervalDay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeIntervalDay
impl Debug for TypeIntervalDay
Source§impl Default for TypeIntervalDay
impl Default for TypeIntervalDay
Source§fn default() -> TypeIntervalDay
fn default() -> TypeIntervalDay
Returns the “default value” for a type. Read more
Source§impl From<TypeIntervalDay> for TypeIntervalDay
impl From<TypeIntervalDay> for TypeIntervalDay
Source§fn from(value: TypeIntervalDay) -> TypeIntervalDay
fn from(value: TypeIntervalDay) -> TypeIntervalDay
Converts to this type from the input type.
Source§impl TryFrom<TypeIntervalDay> for TypeIntervalDay
impl TryFrom<TypeIntervalDay> for TypeIntervalDay
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeIntervalDay) -> Result<TypeIntervalDay, ConversionError>
fn try_from(value: TypeIntervalDay) -> Result<TypeIntervalDay, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for TypeIntervalDay
impl Freeze for TypeIntervalDaywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<Value>: Freeze,
impl Move for TypeIntervalDay
impl RefUnwindSafe for TypeIntervalDay
impl Send for TypeIntervalDay
impl Sync for TypeIntervalDay
impl Unpin for TypeIntervalDay
impl UnsafeUnpin for TypeIntervalDaywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for TypeIntervalDay
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