Struct print_nanny_client::models::alert_request::AlertRequest [−][src]
pub struct AlertRequest { pub octoprint_device: Option<i32>, pub alert_method: AlertMethodEnum, pub event_type: Option<Box<AlertEventTypeEnum>>, pub seen: Option<bool>, pub sent: Option<bool>, }
Fields
octoprint_device: Option<i32>
alert_method: AlertMethodEnum
event_type: Option<Box<AlertEventTypeEnum>>
seen: Option<bool>
sent: Option<bool>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AlertRequest
impl Send for AlertRequest
impl Sync for AlertRequest
impl Unpin for AlertRequest
impl UnwindSafe for AlertRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more