Struct rust_xfinal::cookie::Time
source · [−]pub struct Time {
pub date: Date,
pub hours: u32,
pub minutes: u32,
pub seconds: u32,
pub nanos: u32,
}
Fields
date: Date
hours: u32
minutes: u32
seconds: u32
nanos: u32
Implementations
sourceimpl Time
impl Time
pub fn from_tm(tm: Tm) -> Time
pub fn new() -> Time
pub fn now() -> Time
pub fn now_utc() -> Time
pub fn with_date(date: Date) -> Time
pub fn year(self, year: u32) -> Time
pub fn month(self, month: u32) -> Time
pub fn day(self, day: u32) -> Time
pub fn hour(self, hour: u32) -> Time
pub fn minute(self, minute: u32) -> Time
pub fn second(self, second: u32) -> Time
pub fn nanos(self, nanos: u32) -> Time
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more