#[repr(C)]pub struct dpiIntervalDS {
pub days: i32,
pub hours: i32,
pub minutes: i32,
pub seconds: i32,
pub fseconds: i32,
}Expand description
This structure is used for passing interval (days to seconds) data to and from
the database in the structure dpiData.
Fields§
§days: i32Specifies the number of days in the interval.
hours: i32Specifies the number of hours in the interval.
minutes: i32Specifies the number of minutes in the interval.
seconds: i32Specifies the number of seconds in the interval.
fseconds: i32Specifies the number of fractional seconds in the interval (in nanoseconds).
Trait Implementations§
Source§impl Clone for dpiIntervalDS
impl Clone for dpiIntervalDS
Source§fn clone(&self) -> dpiIntervalDS
fn clone(&self) -> dpiIntervalDS
Returns a duplicate 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 dpiIntervalDS
impl Debug for dpiIntervalDS
Source§impl Default for dpiIntervalDS
impl Default for dpiIntervalDS
Source§fn default() -> dpiIntervalDS
fn default() -> dpiIntervalDS
Returns the “default value” for a type. Read more
impl Copy for dpiIntervalDS
Auto Trait Implementations§
impl Freeze for dpiIntervalDS
impl RefUnwindSafe for dpiIntervalDS
impl Send for dpiIntervalDS
impl Sync for dpiIntervalDS
impl Unpin for dpiIntervalDS
impl UnwindSafe for dpiIntervalDS
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