pub struct SetTargetFields {
pub position: Option<u16>,
pub latch: Option<bool>,
pub speed: Option<ThreeLevelAutoEnum>,
}Expand description
The fields of SetTarget (command 0x00).
Fields§
§position: Option<u16>Position, field 0.
latch: Option<bool>Latch, field 1.
speed: Option<ThreeLevelAutoEnum>Speed, field 2.
Trait Implementations§
Source§impl Clone for SetTargetFields
impl Clone for SetTargetFields
impl Copy for SetTargetFields
Source§impl Debug for SetTargetFields
impl Debug for SetTargetFields
Source§impl<'a> FromTlv<'a> for SetTargetFields
impl<'a> FromTlv<'a> for SetTargetFields
Source§impl PartialEq for SetTargetFields
impl PartialEq for SetTargetFields
impl StructuralPartialEq for SetTargetFields
Auto Trait Implementations§
impl Forget for SetTargetFields
impl Freeze for SetTargetFields
impl Move for SetTargetFields
impl RefUnwindSafe for SetTargetFields
impl Send for SetTargetFields
impl Sync for SetTargetFields
impl Unpin for SetTargetFields
impl UnsafeUnpin for SetTargetFields
impl UnwindSafe for SetTargetFields
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