Struct oracle::Timestamp [] [src]

pub struct Timestamp {
    pub year: i32,
    pub month: u32,
    pub day: u32,
    pub hour: u32,
    pub minute: u32,
    pub second: u32,
    pub nanosecond: u32,
    pub tz_hour_offset: i32,
    pub tz_minute_offset: i32,
    pub precision: u8,
    pub with_tz: bool,
}

Timestamp type corresponding to Oracle datetime types: DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE and TIMESTAMP WITH LOCAL TIME ZONE.

Don't use this type directly in your applications. This is public for types implementing FromSql and ToSql traits.

Fields

Methods

impl Timestamp
[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for Timestamp
[src]

[src]

Formats the value using the given formatter.

impl Clone for Timestamp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Timestamp
[src]

impl PartialEq for Timestamp
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Display for Timestamp
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Timestamp
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl FromSql for Timestamp
[src]

impl ToSql for Timestamp
[src]