pub struct OnCall {
pub user: Reference<User>,
pub schedule: Option<Reference<Schedule>>,
pub escalation_level: u32,
pub start: Option<DateTime<Utc>>,
pub end: Option<DateTime<Utc>>,
}
Fields§
§user: Reference<User>
§schedule: Option<Reference<Schedule>>
§escalation_level: u32
§start: Option<DateTime<Utc>>
§end: Option<DateTime<Utc>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnCall
impl<'de> Deserialize<'de> for OnCall
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 OnCall
impl RefUnwindSafe for OnCall
impl Send for OnCall
impl Sync for OnCall
impl Unpin for OnCall
impl UnwindSafe for OnCall
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