pub struct TypePrecisionTimestamp { /* private fields */ }Implementations§
Source§impl TypePrecisionTimestamp
impl TypePrecisionTimestamp
pub fn max_precision<T>(self, value: T) -> TypePrecisionTimestamp
pub fn metadata<T>(self, value: T) -> TypePrecisionTimestamp
pub fn system_metadata<T>(self, value: T) -> TypePrecisionTimestampwhere
T: TryInto<Option<SystemTypeMetadata>>,
<T as TryInto<Option<SystemTypeMetadata>>>::Error: Display,
pub fn type_<T>(self, value: T) -> TypePrecisionTimestamp
Trait Implementations§
Source§impl Clone for TypePrecisionTimestamp
impl Clone for TypePrecisionTimestamp
Source§fn clone(&self) -> TypePrecisionTimestamp
fn clone(&self) -> TypePrecisionTimestamp
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 TypePrecisionTimestamp
impl Debug for TypePrecisionTimestamp
Source§impl Default for TypePrecisionTimestamp
impl Default for TypePrecisionTimestamp
Source§fn default() -> TypePrecisionTimestamp
fn default() -> TypePrecisionTimestamp
Returns the “default value” for a type. Read more
Source§impl From<TypePrecisionTimestamp> for TypePrecisionTimestamp
impl From<TypePrecisionTimestamp> for TypePrecisionTimestamp
Source§fn from(value: TypePrecisionTimestamp) -> TypePrecisionTimestamp
fn from(value: TypePrecisionTimestamp) -> TypePrecisionTimestamp
Converts to this type from the input type.
Source§impl TryFrom<TypePrecisionTimestamp> for TypePrecisionTimestamp
impl TryFrom<TypePrecisionTimestamp> for TypePrecisionTimestamp
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: TypePrecisionTimestamp,
) -> Result<TypePrecisionTimestamp, ConversionError>
fn try_from( value: TypePrecisionTimestamp, ) -> Result<TypePrecisionTimestamp, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for TypePrecisionTimestamp
impl Freeze for TypePrecisionTimestampwhere
*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 TypePrecisionTimestamp
impl RefUnwindSafe for TypePrecisionTimestamp
impl Send for TypePrecisionTimestamp
impl Sync for TypePrecisionTimestamp
impl Unpin for TypePrecisionTimestamp
impl UnsafeUnpin for TypePrecisionTimestampwhere
*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 TypePrecisionTimestamp
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