#[non_exhaustive]pub struct BindingTarget {
pub node: Option<u64>,
pub group: Option<u16>,
pub endpoint: Option<u16>,
pub cluster: Option<u32>,
}Expand description
One Binding.TargetStruct — a unicast (node + endpoint [+ cluster]) or
group (group [+ cluster]) binding. The device stamps the fabric index;
callers never set it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node: Option<u64>Target node id (unicast binding).
group: Option<u16>Target group id (group binding).
endpoint: Option<u16>Target endpoint (unicast binding).
cluster: Option<u32>Optional target cluster; None binds all clusters.
Implementations§
Trait Implementations§
Source§impl Clone for BindingTarget
impl Clone for BindingTarget
Source§fn clone(&self) -> BindingTarget
fn clone(&self) -> BindingTarget
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 BindingTarget
impl Debug for BindingTarget
impl Eq for BindingTarget
Source§impl PartialEq for BindingTarget
impl PartialEq for BindingTarget
impl StructuralPartialEq for BindingTarget
Auto Trait Implementations§
impl Freeze for BindingTarget
impl RefUnwindSafe for BindingTarget
impl Send for BindingTarget
impl Sync for BindingTarget
impl Unpin for BindingTarget
impl UnsafeUnpin for BindingTarget
impl UnwindSafe for BindingTarget
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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