pub struct AmsFilamentSetting {
pub ams_id: u32,
pub tray_id: u32,
pub tray_info_idx: String,
pub tray_color: String,
pub nozzle_temp_min: i64,
pub nozzle_temp_max: i64,
pub tray_type: String,
}Expand description
Parameters for print.ams_filament_setting — set a tray’s filament profile.
Shapes are from the OpenBambuAPI spec. [spec]
Fields§
§ams_id: u32Index of the AMS unit.
tray_id: u32Index of the tray within the unit.
tray_info_idx: StringFilament profile id (e.g. GFA00); empty if unknown.
tray_color: StringColour as hex RRGGBBAA (alpha usually FF).
nozzle_temp_min: i64Minimum/maximum nozzle temperature for the filament (°C).
nozzle_temp_max: i64§tray_type: StringMaterial, e.g. PLA, PETG.
Trait Implementations§
Source§impl Clone for AmsFilamentSetting
impl Clone for AmsFilamentSetting
Source§fn clone(&self) -> AmsFilamentSetting
fn clone(&self) -> AmsFilamentSetting
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmsFilamentSetting
impl Debug for AmsFilamentSetting
impl Eq for AmsFilamentSetting
Source§impl PartialEq for AmsFilamentSetting
impl PartialEq for AmsFilamentSetting
Source§fn eq(&self, other: &AmsFilamentSetting) -> bool
fn eq(&self, other: &AmsFilamentSetting) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AmsFilamentSetting
Auto Trait Implementations§
impl Freeze for AmsFilamentSetting
impl RefUnwindSafe for AmsFilamentSetting
impl Send for AmsFilamentSetting
impl Sync for AmsFilamentSetting
impl Unpin for AmsFilamentSetting
impl UnsafeUnpin for AmsFilamentSetting
impl UnwindSafe for AmsFilamentSetting
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.