pub struct RoomDimmerSavePreset {
pub preset_number: i32,
pub effect_type_id: i32,
pub color: String,
pub brightness: i32,
pub apply: bool,
}
Fields§
§preset_number: i32
§effect_type_id: i32
§color: String
§brightness: i32
§apply: bool
Trait Implementations§
source§impl BaseParser for RoomDimmerSavePreset
impl BaseParser for RoomDimmerSavePreset
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for RoomDimmerSavePreset
impl Clone for RoomDimmerSavePreset
source§fn clone(&self) -> RoomDimmerSavePreset
fn clone(&self) -> RoomDimmerSavePreset
Returns a copy 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 RoomDimmerSavePreset
impl Debug for RoomDimmerSavePreset
source§impl Default for RoomDimmerSavePreset
impl Default for RoomDimmerSavePreset
source§fn default() -> RoomDimmerSavePreset
fn default() -> RoomDimmerSavePreset
Returns the “default value” for a type. Read more
source§impl PartialEq<RoomDimmerSavePreset> for RoomDimmerSavePreset
impl PartialEq<RoomDimmerSavePreset> for RoomDimmerSavePreset
source§fn eq(&self, other: &RoomDimmerSavePreset) -> bool
fn eq(&self, other: &RoomDimmerSavePreset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RoomDimmerSavePreset
Auto Trait Implementations§
impl RefUnwindSafe for RoomDimmerSavePreset
impl Send for RoomDimmerSavePreset
impl Sync for RoomDimmerSavePreset
impl Unpin for RoomDimmerSavePreset
impl UnwindSafe for RoomDimmerSavePreset
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