pub struct PartialDateTime {
pub date: PartialDate,
pub time: PartialTime,
}Fields§
§date: PartialDate§time: PartialTimeImplementations§
Source§impl PartialDateTime
impl PartialDateTime
pub fn parse(value: &str) -> Result<Self, ParserError>
Trait Implementations§
Source§impl Clone for PartialDateTime
impl Clone for PartialDateTime
Source§fn clone(&self) -> PartialDateTime
fn clone(&self) -> PartialDateTime
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 PartialDateTime
impl Debug for PartialDateTime
Source§impl Default for PartialDateTime
impl Default for PartialDateTime
Source§fn default() -> PartialDateTime
fn default() -> PartialDateTime
Returns the “default value” for a type. Read more
Source§impl ParseProp for PartialDateTime
impl ParseProp for PartialDateTime
fn parse_prop( prop: &ContentLine, _timezones: Option<&HashMap<String, Option<Tz>>>, _default_type: &str, ) -> Result<Self, ParserError>
Source§impl PartialEq for PartialDateTime
impl PartialEq for PartialDateTime
Source§impl Value for PartialDateTime
impl Value for PartialDateTime
impl Eq for PartialDateTime
impl StructuralPartialEq for PartialDateTime
Auto Trait Implementations§
impl Freeze for PartialDateTime
impl RefUnwindSafe for PartialDateTime
impl Send for PartialDateTime
impl Sync for PartialDateTime
impl Unpin for PartialDateTime
impl UnwindSafe for PartialDateTime
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