pub enum PreflightObjection {
Insufficient(ShortSpool),
UnverifiedSpool(DoubtedSpool),
NoAnalysis(UnanalysedSpool),
}Expand description
What a check that refuses a start found for one tool.
Variants§
Insufficient(ShortSpool)
The spool holds less than the print needs and its buffer.
UnverifiedSpool(DoubtedSpool)
The spool’s figure is in doubt.
NoAnalysis(UnanalysedSpool)
The file has no analysis, so what the spool must hold is unknown.
Implementations§
Source§impl PreflightObjection
impl PreflightObjection
Sourcepub const fn verdict(&self) -> PreflightVerdict
pub const fn verdict(&self) -> PreflightVerdict
The verdict this objection is.
Trait Implementations§
Source§impl Clone for PreflightObjection
impl Clone for PreflightObjection
Source§impl Debug for PreflightObjection
impl Debug for PreflightObjection
Source§impl<'de> Deserialize<'de> for PreflightObjection
impl<'de> Deserialize<'de> for PreflightObjection
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 PreflightObjection
impl JsonSchema for PreflightObjection
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 PreflightObjection
impl PartialEq for PreflightObjection
Source§impl Sample for PreflightObjection
impl Sample for PreflightObjection
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 PreflightObjection
impl Serialize for PreflightObjection
impl StructuralPartialEq for PreflightObjection
Auto Trait Implementations§
impl Forget for PreflightObjection
impl Freeze for PreflightObjection
impl Move for PreflightObjection
impl RefUnwindSafe for PreflightObjection
impl Send for PreflightObjection
impl Sync for PreflightObjection
impl Unpin for PreflightObjection
impl UnsafeUnpin for PreflightObjection
impl UnwindSafe for PreflightObjection
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