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