pub struct Rpc_Event_StaScanDone {
pub resp: i32,
pub scan_done: wifi_event_sta_scan_done,
pub _has: _Hazzer,
}
Fields§
§resp: i32
§scan_done: wifi_event_sta_scan_done
§_has: _Hazzer
Implementations§
Source§impl Rpc_Event_StaScanDone
impl Rpc_Event_StaScanDone
Sourcepub fn init_resp(self, value: i32) -> Self
pub fn init_resp(self, value: i32) -> Self
Builder method that sets the value of resp
. Useful for initializing the message.
Sourcepub fn scan_done(&self) -> Option<&wifi_event_sta_scan_done>
pub fn scan_done(&self) -> Option<&wifi_event_sta_scan_done>
Return a reference to scan_done
as an Option
Sourcepub fn set_scan_done(&mut self, value: wifi_event_sta_scan_done) -> &mut Self
pub fn set_scan_done(&mut self, value: wifi_event_sta_scan_done) -> &mut Self
Set the value and presence of scan_done
Sourcepub fn mut_scan_done(&mut self) -> Option<&mut wifi_event_sta_scan_done>
pub fn mut_scan_done(&mut self) -> Option<&mut wifi_event_sta_scan_done>
Return a mutable reference to scan_done
as an Option
Sourcepub fn clear_scan_done(&mut self) -> &mut Self
pub fn clear_scan_done(&mut self) -> &mut Self
Clear the presence of scan_done
Sourcepub fn take_scan_done(&mut self) -> Option<wifi_event_sta_scan_done>
pub fn take_scan_done(&mut self) -> Option<wifi_event_sta_scan_done>
Take the value of scan_done
and clear its presence
Sourcepub fn init_scan_done(self, value: wifi_event_sta_scan_done) -> Self
pub fn init_scan_done(self, value: wifi_event_sta_scan_done) -> Self
Builder method that sets the value of scan_done
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for Rpc_Event_StaScanDone
impl Clone for Rpc_Event_StaScanDone
Source§fn clone(&self) -> Rpc_Event_StaScanDone
fn clone(&self) -> Rpc_Event_StaScanDone
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 Rpc_Event_StaScanDone
impl Debug for Rpc_Event_StaScanDone
Source§impl Default for Rpc_Event_StaScanDone
impl Default for Rpc_Event_StaScanDone
Source§fn default() -> Rpc_Event_StaScanDone
fn default() -> Rpc_Event_StaScanDone
Returns the “default value” for a type. Read more
Source§impl MessageDecode for Rpc_Event_StaScanDone
impl MessageDecode for Rpc_Event_StaScanDone
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 Rpc_Event_StaScanDone
impl MessageEncode for Rpc_Event_StaScanDone
Source§impl PartialEq for Rpc_Event_StaScanDone
impl PartialEq for Rpc_Event_StaScanDone
Auto Trait Implementations§
impl Freeze for Rpc_Event_StaScanDone
impl RefUnwindSafe for Rpc_Event_StaScanDone
impl Send for Rpc_Event_StaScanDone
impl Sync for Rpc_Event_StaScanDone
impl Unpin for Rpc_Event_StaScanDone
impl UnwindSafe for Rpc_Event_StaScanDone
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