pub struct TimeWithTimeZoneValue { /* private fields */ }Implementations§
Source§impl TimeWithTimeZoneValue
impl TimeWithTimeZoneValue
pub fn utc_midnight() -> Self
pub fn parse(input: &str) -> Result<Self>
pub fn from_parts(seconds_since_midnight: u32, offset_minutes: i16) -> Self
pub fn seconds_since_midnight(self) -> u32
pub fn offset_minutes(self) -> i16
pub fn time(self) -> TimeValue
Trait Implementations§
Source§impl Clone for TimeWithTimeZoneValue
impl Clone for TimeWithTimeZoneValue
Source§fn clone(&self) -> TimeWithTimeZoneValue
fn clone(&self) -> TimeWithTimeZoneValue
Returns a duplicate 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 TimeWithTimeZoneValue
impl Debug for TimeWithTimeZoneValue
Source§impl Display for TimeWithTimeZoneValue
impl Display for TimeWithTimeZoneValue
Source§impl FromValue for TimeWithTimeZoneValue
impl FromValue for TimeWithTimeZoneValue
fn from_value(value: &Value) -> Result<Self>
Source§impl Hash for TimeWithTimeZoneValue
impl Hash for TimeWithTimeZoneValue
Source§impl Ord for TimeWithTimeZoneValue
impl Ord for TimeWithTimeZoneValue
Source§fn cmp(&self, other: &TimeWithTimeZoneValue) -> Ordering
fn cmp(&self, other: &TimeWithTimeZoneValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimeWithTimeZoneValue
impl PartialEq for TimeWithTimeZoneValue
Source§impl PartialOrd for TimeWithTimeZoneValue
impl PartialOrd for TimeWithTimeZoneValue
impl Copy for TimeWithTimeZoneValue
impl Eq for TimeWithTimeZoneValue
impl StructuralPartialEq for TimeWithTimeZoneValue
Auto Trait Implementations§
impl Freeze for TimeWithTimeZoneValue
impl RefUnwindSafe for TimeWithTimeZoneValue
impl Send for TimeWithTimeZoneValue
impl Sync for TimeWithTimeZoneValue
impl Unpin for TimeWithTimeZoneValue
impl UnsafeUnpin for TimeWithTimeZoneValue
impl UnwindSafe for TimeWithTimeZoneValue
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