Struct oura_api::models::RestModePeriod
source · pub struct RestModePeriod {
pub id: String,
pub end_day: Option<String>,
pub end_time: Option<String>,
pub episodes: Vec<RestModeEpisode>,
pub start_day: String,
pub start_time: String,
}Fields§
§id: String§end_day: Option<String>§end_time: Option<String>§episodes: Vec<RestModeEpisode>§start_day: String§start_time: StringTrait Implementations§
source§impl Debug for RestModePeriod
impl Debug for RestModePeriod
source§impl<'de> Deserialize<'de> for RestModePeriod
impl<'de> Deserialize<'de> for RestModePeriod
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<RestModePeriod> for RestModePeriod
impl PartialEq<RestModePeriod> for RestModePeriod
source§fn eq(&self, other: &RestModePeriod) -> bool
fn eq(&self, other: &RestModePeriod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RestModePeriod
Auto Trait Implementations§
impl RefUnwindSafe for RestModePeriod
impl Send for RestModePeriod
impl Sync for RestModePeriod
impl Unpin for RestModePeriod
impl UnwindSafe for RestModePeriod
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