#[repr(C)]pub struct IntervalYearMonth {
pub months: i32,
}
Fields§
§months: i32
Number of months
Implementations§
Trait Implementations§
source§impl Clone for IntervalYearMonth
impl Clone for IntervalYearMonth
source§fn clone(&self) -> IntervalYearMonth
fn clone(&self) -> IntervalYearMonth
Returns a copy 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 IntervalYearMonth
impl Debug for IntervalYearMonth
source§impl Default for IntervalYearMonth
impl Default for IntervalYearMonth
source§fn default() -> IntervalYearMonth
fn default() -> IntervalYearMonth
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IntervalYearMonth
impl<'de> Deserialize<'de> for IntervalYearMonth
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<IntervalYearMonth> for IntervalFormat
impl From<IntervalYearMonth> for IntervalFormat
source§fn from(interval: IntervalYearMonth) -> Self
fn from(interval: IntervalYearMonth) -> Self
Converts to this type from the input type.
source§impl From<IntervalYearMonth> for Value
impl From<IntervalYearMonth> for Value
source§fn from(v: IntervalYearMonth) -> Self
fn from(v: IntervalYearMonth) -> Self
Converts to this type from the input type.
source§impl From<IntervalYearMonth> for i32
impl From<IntervalYearMonth> for i32
source§fn from(v: IntervalYearMonth) -> Self
fn from(v: IntervalYearMonth) -> Self
Converts to this type from the input type.
source§impl From<i32> for IntervalYearMonth
impl From<i32> for IntervalYearMonth
source§impl Hash for IntervalYearMonth
impl Hash for IntervalYearMonth
source§impl Ord for IntervalYearMonth
impl Ord for IntervalYearMonth
source§fn cmp(&self, other: &IntervalYearMonth) -> Ordering
fn cmp(&self, other: &IntervalYearMonth) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IntervalYearMonth
impl PartialEq for IntervalYearMonth
source§impl PartialOrd for IntervalYearMonth
impl PartialOrd for IntervalYearMonth
source§impl Serialize for IntervalYearMonth
impl Serialize for IntervalYearMonth
impl Copy for IntervalYearMonth
impl Eq for IntervalYearMonth
impl StructuralPartialEq for IntervalYearMonth
Auto Trait Implementations§
impl Freeze for IntervalYearMonth
impl RefUnwindSafe for IntervalYearMonth
impl Send for IntervalYearMonth
impl Sync for IntervalYearMonth
impl Unpin for IntervalYearMonth
impl UnwindSafe for IntervalYearMonth
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
§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request