pub struct EmbedDeviceSetParams {
pub slot: Slot,
pub enabled: Option<bool>,
}Expand description
Parameters of EMBED_DEVICE_SET.
Fields§
§slot: SlotThe slot to switch.
enabled: Option<bool>None is auto.
Trait Implementations§
Source§impl Clone for EmbedDeviceSetParams
impl Clone for EmbedDeviceSetParams
Source§impl Debug for EmbedDeviceSetParams
impl Debug for EmbedDeviceSetParams
Source§impl<'de> Deserialize<'de> for EmbedDeviceSetParams
impl<'de> Deserialize<'de> for EmbedDeviceSetParams
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 EmbedDeviceSetParams
impl RefUnwindSafe for EmbedDeviceSetParams
impl Send for EmbedDeviceSetParams
impl Sync for EmbedDeviceSetParams
impl Unpin for EmbedDeviceSetParams
impl UnsafeUnpin for EmbedDeviceSetParams
impl UnwindSafe for EmbedDeviceSetParams
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