pub struct AgentPrint {
pub id: PrintId,
pub state: PrinterState,
pub end_reason: Option<String>,
}Expand description
The print a context is about.
Fields§
§id: PrintIdIts identifier.
state: PrinterStateWhat the printer was last found doing with it, or the state it ended in.
end_reason: Option<String>Why it ended, once it has.
Trait Implementations§
Source§impl Clone for AgentPrint
impl Clone for AgentPrint
Source§impl Debug for AgentPrint
impl Debug for AgentPrint
Source§impl<'de> Deserialize<'de> for AgentPrint
impl<'de> Deserialize<'de> for AgentPrint
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
impl Eq for AgentPrint
Source§impl JsonSchema for AgentPrint
impl JsonSchema for AgentPrint
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 AgentPrint
impl PartialEq for AgentPrint
Source§impl Serialize for AgentPrint
impl Serialize for AgentPrint
impl StructuralPartialEq for AgentPrint
Auto Trait Implementations§
impl Forget for AgentPrint
impl Freeze for AgentPrint
impl Move for AgentPrint
impl RefUnwindSafe for AgentPrint
impl Send for AgentPrint
impl Sync for AgentPrint
impl Unpin for AgentPrint
impl UnsafeUnpin for AgentPrint
impl UnwindSafe for AgentPrint
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