pub struct FilamentChangePlannedResumedPayload {
pub change: PlannedChange,
pub previous_color: Option<String>,
pub waited_s: i64,
pub position: FilePosition,
}Expand description
A print carried on from a planned change it was waiting at: its file position moved past the change. Recorded once per change reached, and the check it prompts runs at once.
Fields§
§change: PlannedChangeThe change the print carried on from.
previous_color: Option<String>The colour of the stretch before it, as #RRGGBB; null when the file
names none.
waited_s: i64How long the print waited at it, in whole seconds.
position: FilePositionWhere the job stood when it was found to have carried on.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FilamentChangePlannedResumedPayload
impl<'de> Deserialize<'de> for FilamentChangePlannedResumedPayload
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 FilamentChangePlannedResumedPayload
impl JsonSchema for FilamentChangePlannedResumedPayload
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 FilamentChangePlannedResumedPayload
impl Sample for FilamentChangePlannedResumedPayload
Source§fn sample_full() -> Self
fn sample_full() -> Self
A value carrying every field the type declares.
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§fn sample_minimal() -> Self
fn sample_minimal() -> Self
A value carrying every optional field absent.
impl StructuralPartialEq for FilamentChangePlannedResumedPayload
Auto Trait Implementations§
impl Forget for FilamentChangePlannedResumedPayload
impl Freeze for FilamentChangePlannedResumedPayload
impl Move for FilamentChangePlannedResumedPayload
impl RefUnwindSafe for FilamentChangePlannedResumedPayload
impl Send for FilamentChangePlannedResumedPayload
impl Sync for FilamentChangePlannedResumedPayload
impl Unpin for FilamentChangePlannedResumedPayload
impl UnsafeUnpin for FilamentChangePlannedResumedPayload
impl UnwindSafe for FilamentChangePlannedResumedPayload
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