Struct cdbc_pg::types::PgInterval [−][src]
Fields
months: i32days: i32microseconds: i64Trait Implementations
Decode a new value of this type using a raw value from the database.
Writes the value of self into buf without moving self. Read more
Writes the value of self into buf in the expected format for the database.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Convert a std::time::Duration to a PgInterval
This returns an error if there is a loss of precision using nanoseconds or if there is a microsecond overflow.
type Error = BoxDynError
type Error = BoxDynError
The type returned in the event of a conversion error.
Returns the canonical SQL type for this Rust type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PgInterval
impl Send for PgInterval
impl Sync for PgInterval
impl Unpin for PgInterval
impl UnwindSafe for PgInterval
Blanket Implementations
Mutably borrows from an owned value. Read more
