Struct print_nanny_client::models::alert::Alert [−][src]
pub struct Alert {}Show fields
pub id: Option<i32>, pub time: Option<String>, pub gcode_file: Option<String>, pub print_progress: Option<String>, pub time_elapsed: Option<String>, pub time_remaining: Option<String>, pub manage_device_url: Option<String>, pub user: Option<i32>, pub octoprint_device: Option<i32>, pub alert_method: AlertMethodEnum, pub event_type: Option<Box<AlertEventTypeEnum>>, pub seen: Option<bool>, pub sent: Option<bool>, pub created_dt: Option<String>, pub updated_dt: Option<String>, pub message: Option<String>,
Fields
id: Option<i32>
time: Option<String>
gcode_file: Option<String>
print_progress: Option<String>
time_elapsed: Option<String>
time_remaining: Option<String>
manage_device_url: Option<String>
user: Option<i32>
octoprint_device: Option<i32>
alert_method: AlertMethodEnum
event_type: Option<Box<AlertEventTypeEnum>>
seen: Option<bool>
sent: Option<bool>
created_dt: Option<String>
updated_dt: Option<String>
message: Option<String>
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
Auto Trait Implementations
impl RefUnwindSafe for Alert
impl UnwindSafe for Alert
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more