Struct print_nanny_client::models::alert::Alert [−][src]
pub struct Alert {Show 15 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 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>
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
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more