pub struct WeekDetails {
pub weekdays: Vec<String>,
pub time: Option<String>,
}Expand description
Properties of a weekly schedule.
Fields§
§weekdays: Vec<String>The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time: Option<String>The time of the day the schedule will occur.
Implementations§
Source§impl WeekDetails
impl WeekDetails
Trait Implementations§
Source§impl Clone for WeekDetails
impl Clone for WeekDetails
Source§fn clone(&self) -> WeekDetails
fn clone(&self) -> WeekDetails
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 WeekDetails
impl Debug for WeekDetails
Source§impl Default for WeekDetails
impl Default for WeekDetails
Source§fn default() -> WeekDetails
fn default() -> WeekDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WeekDetails
impl<'de> Deserialize<'de> for WeekDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WeekDetails
impl PartialEq for WeekDetails
Source§fn eq(&self, other: &WeekDetails) -> bool
fn eq(&self, other: &WeekDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WeekDetails
impl Serialize for WeekDetails
impl StructuralPartialEq for WeekDetails
Auto Trait Implementations§
impl Freeze for WeekDetails
impl RefUnwindSafe for WeekDetails
impl Send for WeekDetails
impl Sync for WeekDetails
impl Unpin for WeekDetails
impl UnsafeUnpin for WeekDetails
impl UnwindSafe for WeekDetails
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