pub struct FilePrint {
pub at: Timestamp,
pub success: bool,
}Expand description
The last time a file was printed, and whether that print completed.
Fields§
§at: TimestampWhen it was printed.
success: boolWhether that print completed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FilePrint
impl<'de> Deserialize<'de> for FilePrint
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 FilePrint
Source§impl JsonSchema for FilePrint
impl JsonSchema for FilePrint
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 Sample for FilePrint
impl Sample for FilePrint
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
impl StructuralPartialEq for FilePrint
Auto Trait Implementations§
impl Forget for FilePrint
impl Freeze for FilePrint
impl Move for FilePrint
impl RefUnwindSafe for FilePrint
impl Send for FilePrint
impl Sync for FilePrint
impl Unpin for FilePrint
impl UnsafeUnpin for FilePrint
impl UnwindSafe for FilePrint
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