pub struct Rpc_Req_WifiSetCountryCode {
pub country: Vec<u8, 3>,
pub ieee80211d_enabled: bool,
}
Fields§
§country: Vec<u8, 3>
§ieee80211d_enabled: bool
Implementations§
Source§impl Rpc_Req_WifiSetCountryCode
impl Rpc_Req_WifiSetCountryCode
Sourcepub fn mut_country(&mut self) -> &mut Vec<u8, 3>
pub fn mut_country(&mut self) -> &mut Vec<u8, 3>
Return a mutable reference to country
Sourcepub fn set_country(&mut self, value: Vec<u8, 3>) -> &mut Self
pub fn set_country(&mut self, value: Vec<u8, 3>) -> &mut Self
Set the value of country
Sourcepub fn init_country(self, value: Vec<u8, 3>) -> Self
pub fn init_country(self, value: Vec<u8, 3>) -> Self
Builder method that sets the value of country
. Useful for initializing the message.
Sourcepub fn ieee80211d_enabled(&self) -> &bool
pub fn ieee80211d_enabled(&self) -> &bool
Return a reference to ieee80211d_enabled
Sourcepub fn mut_ieee80211d_enabled(&mut self) -> &mut bool
pub fn mut_ieee80211d_enabled(&mut self) -> &mut bool
Return a mutable reference to ieee80211d_enabled
Sourcepub fn set_ieee80211d_enabled(&mut self, value: bool) -> &mut Self
pub fn set_ieee80211d_enabled(&mut self, value: bool) -> &mut Self
Set the value of ieee80211d_enabled
Sourcepub fn init_ieee80211d_enabled(self, value: bool) -> Self
pub fn init_ieee80211d_enabled(self, value: bool) -> Self
Builder method that sets the value of ieee80211d_enabled
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for Rpc_Req_WifiSetCountryCode
impl Clone for Rpc_Req_WifiSetCountryCode
Source§fn clone(&self) -> Rpc_Req_WifiSetCountryCode
fn clone(&self) -> Rpc_Req_WifiSetCountryCode
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_Req_WifiSetCountryCode
impl Debug for Rpc_Req_WifiSetCountryCode
Source§impl Default for Rpc_Req_WifiSetCountryCode
impl Default for Rpc_Req_WifiSetCountryCode
Source§fn default() -> Rpc_Req_WifiSetCountryCode
fn default() -> Rpc_Req_WifiSetCountryCode
Returns the “default value” for a type. Read more
Source§impl MessageDecode for Rpc_Req_WifiSetCountryCode
impl MessageDecode for Rpc_Req_WifiSetCountryCode
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_Req_WifiSetCountryCode
impl MessageEncode for Rpc_Req_WifiSetCountryCode
impl StructuralPartialEq for Rpc_Req_WifiSetCountryCode
Auto Trait Implementations§
impl Freeze for Rpc_Req_WifiSetCountryCode
impl RefUnwindSafe for Rpc_Req_WifiSetCountryCode
impl Send for Rpc_Req_WifiSetCountryCode
impl Sync for Rpc_Req_WifiSetCountryCode
impl Unpin for Rpc_Req_WifiSetCountryCode
impl UnwindSafe for Rpc_Req_WifiSetCountryCode
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