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