pub struct ObicoFailureAlert {
pub event: ObicoFailureEvent,
pub printer: ObicoPrinterInfo,
pub print: ObicoPrintInfo,
pub img_url: String,
}Expand description
The whole body the producer sends for a print failure.
Fields§
§event: ObicoFailureEventWhat happened.
printer: ObicoPrinterInfoWhich printer it happened on.
print: ObicoPrintInfoWhich print it happened to.
img_url: StringWhere the snapshot that shows it can be fetched.
Trait Implementations§
Source§impl Clone for ObicoFailureAlert
impl Clone for ObicoFailureAlert
Source§fn clone(&self) -> ObicoFailureAlert
fn clone(&self) -> ObicoFailureAlert
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObicoFailureAlert
impl Debug for ObicoFailureAlert
Source§impl<'de> Deserialize<'de> for ObicoFailureAlert
impl<'de> Deserialize<'de> for ObicoFailureAlert
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
Source§impl JsonSchema for ObicoFailureAlert
impl JsonSchema for ObicoFailureAlert
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ObicoFailureAlert
impl PartialEq for ObicoFailureAlert
Source§impl Sample for ObicoFailureAlert
impl Sample for ObicoFailureAlert
Source§fn sample_full() -> Self
fn sample_full() -> Self
A value carrying every field the type declares.
Source§fn sample_minimal() -> Self
fn sample_minimal() -> Self
A value carrying every optional field absent.
Source§fn sample_alternates() -> Vec<Self>
fn sample_alternates() -> Vec<Self>
One value per further arm, for a type whose wire form is a union. Read more
Source§impl Serialize for ObicoFailureAlert
impl Serialize for ObicoFailureAlert
impl StructuralPartialEq for ObicoFailureAlert
Auto Trait Implementations§
impl Freeze for ObicoFailureAlert
impl RefUnwindSafe for ObicoFailureAlert
impl Send for ObicoFailureAlert
impl Sync for ObicoFailureAlert
impl Unpin for ObicoFailureAlert
impl UnsafeUnpin for ObicoFailureAlert
impl UnwindSafe for ObicoFailureAlert
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