pub struct SettingsPacket {
pub(crate) identity: Identity,
pub(crate) controls: SettingType,
}Expand description
The packet expected from any settings channel communication
Fields§
§identity: Identity§controls: SettingTypeTrait Implementations§
Source§impl Clone for SettingsPacket
impl Clone for SettingsPacket
Source§fn clone(&self) -> SettingsPacket
fn clone(&self) -> SettingsPacket
Returns a duplicate of the value. Read more
1.0.0 · 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 SettingsPacket
impl Debug for SettingsPacket
Source§impl<'de> Deserialize<'de> for SettingsPacket
impl<'de> Deserialize<'de> for SettingsPacket
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 SettingsPacket
impl RefUnwindSafe for SettingsPacket
impl Send for SettingsPacket
impl Sync for SettingsPacket
impl Unpin for SettingsPacket
impl UnsafeUnpin for SettingsPacket
impl UnwindSafe for SettingsPacket
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