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