pub struct PublicSleepTimeWindow {
pub day_tz: i64,
pub end_offset: i64,
pub start_offset: i64,
}Expand description
Object defining sleep time window
JSON schema
{
"title": "PublicSleepTimeWindow",
"description": "Object defining sleep time window",
"type": "object",
"required": [
"day_tz",
"end_offset",
"start_offset"
],
"properties": {
"day_tz": {
"title": "",
"description": "Timezone offset in second from GMT of the day",
"type": "integer"
},
"end_offset": {
"title": "",
"description": "End offset from midnight in second",
"type": "integer"
},
"start_offset": {
"title": "",
"description": "Start offset from midnight in second",
"type": "integer"
}
}
}Fields§
§day_tz: i64Timezone offset in second from GMT of the day
end_offset: i64End offset from midnight in second
start_offset: i64Start offset from midnight in second
Trait Implementations§
Source§impl Clone for PublicSleepTimeWindow
impl Clone for PublicSleepTimeWindow
Source§fn clone(&self) -> PublicSleepTimeWindow
fn clone(&self) -> PublicSleepTimeWindow
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 PublicSleepTimeWindow
impl Debug for PublicSleepTimeWindow
Source§impl<'de> Deserialize<'de> for PublicSleepTimeWindow
impl<'de> Deserialize<'de> for PublicSleepTimeWindow
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
Auto Trait Implementations§
impl Freeze for PublicSleepTimeWindow
impl RefUnwindSafe for PublicSleepTimeWindow
impl Send for PublicSleepTimeWindow
impl Sync for PublicSleepTimeWindow
impl Unpin for PublicSleepTimeWindow
impl UnsafeUnpin for PublicSleepTimeWindow
impl UnwindSafe for PublicSleepTimeWindow
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