pub struct wifi_scan_threshold {
pub rssi: i32,
pub authmode: i32,
}
Fields§
§rssi: i32
§authmode: i32
Implementations§
Source§impl wifi_scan_threshold
impl wifi_scan_threshold
Sourcepub fn init_rssi(self, value: i32) -> Self
pub fn init_rssi(self, value: i32) -> Self
Builder method that sets the value of rssi
. Useful for initializing the message.
Sourcepub fn mut_authmode(&mut self) -> &mut i32
pub fn mut_authmode(&mut self) -> &mut i32
Return a mutable reference to authmode
Sourcepub fn set_authmode(&mut self, value: i32) -> &mut Self
pub fn set_authmode(&mut self, value: i32) -> &mut Self
Set the value of authmode
Sourcepub fn init_authmode(self, value: i32) -> Self
pub fn init_authmode(self, value: i32) -> Self
Builder method that sets the value of authmode
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_scan_threshold
impl Clone for wifi_scan_threshold
Source§fn clone(&self) -> wifi_scan_threshold
fn clone(&self) -> wifi_scan_threshold
Returns a duplicate 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 wifi_scan_threshold
impl Debug for wifi_scan_threshold
Source§impl Default for wifi_scan_threshold
impl Default for wifi_scan_threshold
Source§fn default() -> wifi_scan_threshold
fn default() -> wifi_scan_threshold
Returns the “default value” for a type. Read more
Source§impl MessageDecode for wifi_scan_threshold
impl MessageDecode for wifi_scan_threshold
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
Decode an instance of the message from the decoder and merge it into
self
. Read moreSource§fn decode_from_bytes(
&mut self,
bytes: &[u8],
) -> Result<(), DecodeError<Infallible>>
fn decode_from_bytes( &mut self, bytes: &[u8], ) -> Result<(), DecodeError<Infallible>>
Decode an instance of the message from the provided bytes
Source§fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
fn decode_len_delimited<R>(
&mut self,
decoder: &mut PbDecoder<R>,
) -> Result<(), DecodeError<<R as PbRead>::Error>>where
R: PbRead,
Decode an instance of the message from the decoder as a length-delimited record, starting with a length
prefix.
Source§impl MessageEncode for wifi_scan_threshold
impl MessageEncode for wifi_scan_threshold
Source§impl PartialEq for wifi_scan_threshold
impl PartialEq for wifi_scan_threshold
impl StructuralPartialEq for wifi_scan_threshold
Auto Trait Implementations§
impl Freeze for wifi_scan_threshold
impl RefUnwindSafe for wifi_scan_threshold
impl Send for wifi_scan_threshold
impl Sync for wifi_scan_threshold
impl Unpin for wifi_scan_threshold
impl UnwindSafe for wifi_scan_threshold
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