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