pub struct Capability {
pub writable: bool,
pub model: Option<String>,
pub port: RxPort,
}Expand description
What the base receiver can do.
Fields§
§writable: boolConfiguration bytes can reach the receiver.
model: Option<String>Model string, when known (config or MON-VER).
port: RxPortReceiver port the host is attached to.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§impl Debug for Capability
impl Debug for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
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