pub struct PlateInfo {
pub id: u32,
pub name: Option<String>,
pub locked: bool,
pub gcode_file: Option<String>,
pub thumbnail_file: Option<String>,
pub items: Vec<PlateModelInstance>,
}Expand description
Information about a single build plate in a Bambu Studio project.
Fields§
§id: u32Plate index (1-based).
name: Option<String>Optional display name for this plate.
locked: boolWhether this plate is locked in the slicer.
gcode_file: Option<String>Path to the pre-sliced G-code file for this plate.
thumbnail_file: Option<String>Path to the thumbnail image for this plate.
items: Vec<PlateModelInstance>List of object instances on this plate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlateInfo
impl<'de> Deserialize<'de> for PlateInfo
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
Auto Trait Implementations§
impl Freeze for PlateInfo
impl RefUnwindSafe for PlateInfo
impl Send for PlateInfo
impl Sync for PlateInfo
impl Unpin for PlateInfo
impl UnsafeUnpin for PlateInfo
impl UnwindSafe for PlateInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more