Struct bluer::mesh::element::VendorModel
source · pub struct VendorModel {
pub vendor: u16,
pub id: u16,
pub publish: bool,
pub subscribe: bool,
/* private fields */
}
Available on crate feature
mesh
only.Expand description
Vendor model information.
Fields§
§vendor: u16
Company id.
id: u16
Vendor-assigned model identifier.
publish: bool
Indicates whether the model supports publication mechanism.
By default this is true.
subscribe: bool
Indicates whether the model supports subscription mechanism.
By default this is true.
Implementations§
Trait Implementations§
source§impl Clone for VendorModel
impl Clone for VendorModel
source§fn clone(&self) -> VendorModel
fn clone(&self) -> VendorModel
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 VendorModel
impl Debug for VendorModel
Auto Trait Implementations§
impl Freeze for VendorModel
impl RefUnwindSafe for VendorModel
impl Send for VendorModel
impl Sync for VendorModel
impl Unpin for VendorModel
impl UnwindSafe for VendorModel
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