#[repr(C)]pub struct IntervalMonthDayNano {
pub months: i32,
pub days: i32,
pub nanoseconds: i64,
}
Fields§
§months: i32
Number of months
days: i32
Number of days
nanoseconds: i64
Number of nanoseconds
Implementations§
Trait Implementations§
source§impl Clone for IntervalMonthDayNano
impl Clone for IntervalMonthDayNano
source§fn clone(&self) -> IntervalMonthDayNano
fn clone(&self) -> IntervalMonthDayNano
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 IntervalMonthDayNano
impl Debug for IntervalMonthDayNano
source§impl Default for IntervalMonthDayNano
impl Default for IntervalMonthDayNano
source§fn default() -> IntervalMonthDayNano
fn default() -> IntervalMonthDayNano
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IntervalMonthDayNano
impl<'de> Deserialize<'de> for IntervalMonthDayNano
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<IntervalMonthDayNano> for IntervalFormat
impl From<IntervalMonthDayNano> for IntervalFormat
source§fn from(interval: IntervalMonthDayNano) -> Self
fn from(interval: IntervalMonthDayNano) -> Self
Converts to this type from the input type.
source§impl From<IntervalMonthDayNano> for Value
impl From<IntervalMonthDayNano> for Value
source§fn from(v: IntervalMonthDayNano) -> Self
fn from(v: IntervalMonthDayNano) -> Self
Converts to this type from the input type.
source§impl From<IntervalMonthDayNano> for i128
impl From<IntervalMonthDayNano> for i128
source§fn from(v: IntervalMonthDayNano) -> Self
fn from(v: IntervalMonthDayNano) -> Self
Converts to this type from the input type.
source§impl From<i128> for IntervalMonthDayNano
impl From<i128> for IntervalMonthDayNano
source§impl Hash for IntervalMonthDayNano
impl Hash for IntervalMonthDayNano
source§impl Ord for IntervalMonthDayNano
impl Ord for IntervalMonthDayNano
source§fn cmp(&self, other: &IntervalMonthDayNano) -> Ordering
fn cmp(&self, other: &IntervalMonthDayNano) -> 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 IntervalMonthDayNano
impl PartialEq for IntervalMonthDayNano
source§impl PartialOrd for IntervalMonthDayNano
impl PartialOrd for IntervalMonthDayNano
source§impl Serialize for IntervalMonthDayNano
impl Serialize for IntervalMonthDayNano
impl Copy for IntervalMonthDayNano
impl Eq for IntervalMonthDayNano
impl StructuralPartialEq for IntervalMonthDayNano
Auto Trait Implementations§
impl Freeze for IntervalMonthDayNano
impl RefUnwindSafe for IntervalMonthDayNano
impl Send for IntervalMonthDayNano
impl Sync for IntervalMonthDayNano
impl Unpin for IntervalMonthDayNano
impl UnwindSafe for IntervalMonthDayNano
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