pub struct SpoolId(/* private fields */);Expand description
PrintObserver’s own identifier for one registered spool.
A UUID version 7, minted by the store, serialized as its lowercase hyphenated string, and refused on parse in any other spelling or at any other version.
Implementations§
Trait Implementations§
impl Copy for SpoolId
Source§impl<'de> Deserialize<'de> for SpoolId
impl<'de> Deserialize<'de> for SpoolId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpoolId
Source§impl JsonSchema for SpoolId
impl JsonSchema for SpoolId
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 Ord for SpoolId
impl Ord for SpoolId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SpoolId
impl PartialOrd for SpoolId
Source§impl Sample for SpoolId
impl Sample for SpoolId
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 SpoolId
Auto Trait Implementations§
impl Forget for SpoolId
impl Freeze for SpoolId
impl Move for SpoolId
impl RefUnwindSafe for SpoolId
impl Send for SpoolId
impl Sync for SpoolId
impl Unpin for SpoolId
impl UnsafeUnpin for SpoolId
impl UnwindSafe for SpoolId
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