pub struct IntervalValue {
pub months: i32,
pub days: i32,
pub hours: i32,
pub mins: i32,
pub secs: i32,
pub usecs: i32,
}Fields§
§months: i32§days: i32§hours: i32§mins: i32§secs: i32§usecs: i32Implementations§
Trait Implementations§
Source§impl Clone for IntervalValue
impl Clone for IntervalValue
Source§fn clone(&self) -> IntervalValue
fn clone(&self) -> IntervalValue
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 IntervalValue
impl Debug for IntervalValue
Source§impl Default for IntervalValue
impl Default for IntervalValue
Source§fn default() -> IntervalValue
fn default() -> IntervalValue
Returns the “default value” for a type. Read more
Source§impl Display for IntervalValue
impl Display for IntervalValue
Source§impl ToProtocolValue for IntervalValue
impl ToProtocolValue for IntervalValue
Source§fn to_text(&self, buf: &mut BytesMut) -> Result<(), ProtocolError>
fn to_text(&self, buf: &mut BytesMut) -> Result<(), ProtocolError>
Converts native type to raw value in text format
Source§fn to_binary(&self, buf: &mut BytesMut) -> Result<(), ProtocolError>
fn to_binary(&self, buf: &mut BytesMut) -> Result<(), ProtocolError>
Converts native type to raw value in binary format
fn to_protocol(
&self,
buf: &mut BytesMut,
format: Format,
) -> Result<(), ProtocolError>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for IntervalValue
impl RefUnwindSafe for IntervalValue
impl Send for IntervalValue
impl Sync for IntervalValue
impl Unpin for IntervalValue
impl UnsafeUnpin for IntervalValue
impl UnwindSafe for IntervalValue
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