pub struct PrintStartedPayload {
pub file_name: Option<String>,
pub started_by: Option<ActionId>,
pub loaded: Vec<LoadedSpool>,
pub preflight: Option<Preflight>,
}Expand description
A print started.
Fields§
§file_name: Option<String>The file being printed, when it is known.
started_by: Option<ActionId>The action that started it; absent when the print was observed rather than started through this system.
loaded: Vec<LoadedSpool>The spool loaded on each tool as it started.
preflight: Option<Preflight>The filament check made before it started, when one was.
Trait Implementations§
Source§impl Clone for PrintStartedPayload
impl Clone for PrintStartedPayload
Source§impl Debug for PrintStartedPayload
impl Debug for PrintStartedPayload
Source§impl<'de> Deserialize<'de> for PrintStartedPayload
impl<'de> Deserialize<'de> for PrintStartedPayload
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 EventPayload for PrintStartedPayload
impl EventPayload for PrintStartedPayload
Source§impl JsonSchema for PrintStartedPayload
impl JsonSchema for PrintStartedPayload
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 PrintStartedPayload
impl PartialEq for PrintStartedPayload
Source§impl Sample for PrintStartedPayload
impl Sample for PrintStartedPayload
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 PrintStartedPayload
impl Serialize for PrintStartedPayload
impl StructuralPartialEq for PrintStartedPayload
Auto Trait Implementations§
impl Forget for PrintStartedPayload
impl Freeze for PrintStartedPayload
impl Move for PrintStartedPayload
impl RefUnwindSafe for PrintStartedPayload
impl Send for PrintStartedPayload
impl Sync for PrintStartedPayload
impl Unpin for PrintStartedPayload
impl UnsafeUnpin for PrintStartedPayload
impl UnwindSafe for PrintStartedPayload
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