pub struct TimeFragment {
pub hour: String,
pub minute: String,
pub second: Option<String>,
pub second_fraction: Option<String>,
}Fields§
§hour: String§minute: String§second: Option<String>§second_fraction: Option<String>Trait Implementations§
Source§impl Clone for TimeFragment
impl Clone for TimeFragment
Source§fn clone(&self) -> TimeFragment
fn clone(&self) -> TimeFragment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimeFragment
impl Debug for TimeFragment
Source§impl Display for TimeFragment
impl Display for TimeFragment
impl Eq for TimeFragment
Source§impl PartialEq for TimeFragment
impl PartialEq for TimeFragment
Source§fn eq(&self, other: &TimeFragment) -> bool
fn eq(&self, other: &TimeFragment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeFragment
Auto Trait Implementations§
impl Freeze for TimeFragment
impl RefUnwindSafe for TimeFragment
impl Send for TimeFragment
impl Sync for TimeFragment
impl Unpin for TimeFragment
impl UnsafeUnpin for TimeFragment
impl UnwindSafe for TimeFragment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more