pub struct PreflightSpool {
pub id: SpoolId,
pub name: String,
}Expand description
The spool a check judged, named beside its identifier so a reader need not look it up.
Fields§
§id: SpoolIdThe spool’s identifier.
name: StringThe spool’s name.
Trait Implementations§
Source§impl Clone for PreflightSpool
impl Clone for PreflightSpool
Source§impl Debug for PreflightSpool
impl Debug for PreflightSpool
Source§impl<'de> Deserialize<'de> for PreflightSpool
impl<'de> Deserialize<'de> for PreflightSpool
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 PreflightSpool
Source§impl JsonSchema for PreflightSpool
impl JsonSchema for PreflightSpool
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 PreflightSpool
impl PartialEq for PreflightSpool
Source§impl Sample for PreflightSpool
impl Sample for PreflightSpool
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 PreflightSpool
impl Serialize for PreflightSpool
impl StructuralPartialEq for PreflightSpool
Auto Trait Implementations§
impl Forget for PreflightSpool
impl Freeze for PreflightSpool
impl Move for PreflightSpool
impl RefUnwindSafe for PreflightSpool
impl Send for PreflightSpool
impl Sync for PreflightSpool
impl Unpin for PreflightSpool
impl UnsafeUnpin for PreflightSpool
impl UnwindSafe for PreflightSpool
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