Struct uhppote_rs::TimeProfile
source · [−]pub struct TimeProfile {
pub id: u8,
pub linked_profile_id: u8,
pub from: NaiveDate,
pub to: NaiveDate,
pub monday: bool,
pub tuesday: bool,
pub wednesday: bool,
pub thursday: bool,
pub friday: bool,
pub saturday: bool,
pub sunday: bool,
pub segments: [TimeProfileSegment; 3],
}
Fields
id: u8
linked_profile_id: u8
from: NaiveDate
to: NaiveDate
monday: bool
tuesday: bool
wednesday: bool
thursday: bool
friday: bool
saturday: bool
sunday: bool
segments: [TimeProfileSegment; 3]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimeProfile
impl Send for TimeProfile
impl Sync for TimeProfile
impl Unpin for TimeProfile
impl UnwindSafe for TimeProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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