pub struct DateTimeInput {
pub year: i64,
pub month: i64,
pub day: i64,
pub hour: i64,
pub minute: Option<i64>,
}Expand description
A calendar date with wall-clock time (no time zone — emitted as UTC).
Fields§
§year: i64§month: i64§day: i64§hour: i64§minute: Option<i64>Trait Implementations§
Source§impl Clone for DateTimeInput
impl Clone for DateTimeInput
Source§fn clone(&self) -> DateTimeInput
fn clone(&self) -> DateTimeInput
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 moreimpl Copy for DateTimeInput
Auto Trait Implementations§
impl Freeze for DateTimeInput
impl RefUnwindSafe for DateTimeInput
impl Send for DateTimeInput
impl Sync for DateTimeInput
impl Unpin for DateTimeInput
impl UnsafeUnpin for DateTimeInput
impl UnwindSafe for DateTimeInput
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