pub enum PlannedChangeKind {
ColorChange,
Pause,
}Expand description
What a planned change stops the print for.
Variants§
ColorChange
An M600: the firmware stops so a person can load the next colour.
Pause
An M601: the firmware pauses until a person resumes it.
Trait Implementations§
Source§impl Clone for PlannedChangeKind
impl Clone for PlannedChangeKind
impl Copy for PlannedChangeKind
Source§impl Debug for PlannedChangeKind
impl Debug for PlannedChangeKind
Source§impl<'de> Deserialize<'de> for PlannedChangeKind
impl<'de> Deserialize<'de> for PlannedChangeKind
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 PlannedChangeKind
Source§impl JsonSchema for PlannedChangeKind
impl JsonSchema for PlannedChangeKind
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 PlannedChangeKind
impl PartialEq for PlannedChangeKind
Source§impl Serialize for PlannedChangeKind
impl Serialize for PlannedChangeKind
impl StructuralPartialEq for PlannedChangeKind
Auto Trait Implementations§
impl Forget for PlannedChangeKind
impl Freeze for PlannedChangeKind
impl Move for PlannedChangeKind
impl RefUnwindSafe for PlannedChangeKind
impl Send for PlannedChangeKind
impl Sync for PlannedChangeKind
impl Unpin for PlannedChangeKind
impl UnsafeUnpin for PlannedChangeKind
impl UnwindSafe for PlannedChangeKind
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