Struct oracle::IntervalYM
[−]
[src]
pub struct IntervalYM { pub years: i32, pub months: i32, pub precision: u8, }
Interval type corresponding to Oracle type: INTERVAL YEAR TO MONTH
.
Don't use this type directly in your applications. This is public
for types implementing FromSql
and ToSql
traits.
Fields
years: i32
months: i32
precision: u8
Methods
impl IntervalYM
[src]
fn new(years: i32, months: i32) -> IntervalYM
[src]
Trait Implementations
impl Debug for IntervalYM
[src]
impl Clone for IntervalYM
[src]
fn clone(&self) -> IntervalYM
[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 IntervalYM
[src]
impl PartialEq for IntervalYM
[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 IntervalYM
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl FromStr for IntervalYM
[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