pub struct Model {
pub id: u16,
pub publish: bool,
pub subscribe: bool,
/* private fields */
}
Available on crate feature
mesh
only.Expand description
SIG model information.
Fields§
§id: u16
SIG 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§
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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