Struct hdbconnect_impl::types::SecondTime
source · pub struct SecondTime(/* private fields */);Expand description
Implementation of HANA’s SecondTime.
The type is used internally to implement deserialization from the wire.
HANA allows input of empty strings, they are mapped to 0, all other legal values are mapped to Hours * 60*60 + Minutes * 60 + Seconds + 1 < 86400.
When reading, we treat 0 and 1 as “00:00:00”.
Trait Implementations§
source§impl Clone for SecondTime
impl Clone for SecondTime
source§fn clone(&self) -> SecondTime
fn clone(&self) -> SecondTime
Returns a copy 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 SecondTime
impl Debug for SecondTime
source§impl Display for SecondTime
impl Display for SecondTime
Auto Trait Implementations§
impl RefUnwindSafe for SecondTime
impl Send for SecondTime
impl Sync for SecondTime
impl Unpin for SecondTime
impl UnwindSafe for SecondTime
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