Struct print_nanny_client::models::alert::Alert [−][src]
pub struct Alert {Show 15 fields
pub id: i32,
pub time: String,
pub gcode_file: String,
pub print_progress: String,
pub time_elapsed: String,
pub time_remaining: String,
pub manage_device_url: Option<String>,
pub user: i32,
pub octoprint_device: Option<i32>,
pub event_type: Option<Box<AlertEventTypeEnum>>,
pub seen: Option<bool>,
pub sent: Option<bool>,
pub created_dt: String,
pub updated_dt: String,
pub message: String,
}
Fields
id: i32
time: String
gcode_file: String
print_progress: String
time_elapsed: String
time_remaining: String
manage_device_url: Option<String>
user: i32
octoprint_device: Option<i32>
event_type: Option<Box<AlertEventTypeEnum>>
seen: Option<bool>
sent: Option<bool>
created_dt: String
updated_dt: String
message: 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