Struct oracle::IntervalDS
[−]
[src]
pub struct IntervalDS { pub days: i32, pub hours: i32, pub minutes: i32, pub seconds: i32, pub nanoseconds: i32, pub lfprecision: u8, pub fsprecision: u8, }
Interval type corresponding to Oracle type: INTERVAL DAY TO SECOND
.
Don't use this type directly in your applications. This is public
for types implementing FromSql
and ToSql
traits.
Fields
days: i32
hours: i32
minutes: i32
seconds: i32
nanoseconds: i32
lfprecision: u8
fsprecision: u8
Methods
impl IntervalDS
[src]
Trait Implementations
impl Debug for IntervalDS
[src]
impl Clone for IntervalDS
[src]
fn clone(&self) -> IntervalDS
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for IntervalDS
[src]
impl PartialEq for IntervalDS
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Display for IntervalDS
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl FromStr for IntervalDS
[src]
type Err = ParseOracleTypeError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Parses a string s
to return a value of this type. Read more