Struct tinkerforge::master_brick::Wifi2ApConfiguration
source · pub struct Wifi2ApConfiguration {
pub enable: bool,
pub ssid: String,
pub ip: [u8; 4],
pub subnet_mask: [u8; 4],
pub gateway: [u8; 4],
pub encryption: u8,
pub hidden: bool,
pub channel: u8,
pub mac_address: [u8; 6],
}
Fields§
§enable: bool
§ssid: String
§ip: [u8; 4]
§subnet_mask: [u8; 4]
§gateway: [u8; 4]
§encryption: u8
§channel: u8
§mac_address: [u8; 6]
Trait Implementations§
source§impl Clone for Wifi2ApConfiguration
impl Clone for Wifi2ApConfiguration
source§fn clone(&self) -> Wifi2ApConfiguration
fn clone(&self) -> Wifi2ApConfiguration
Returns a copy 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 Wifi2ApConfiguration
impl Debug for Wifi2ApConfiguration
source§impl Default for Wifi2ApConfiguration
impl Default for Wifi2ApConfiguration
source§fn default() -> Wifi2ApConfiguration
fn default() -> Wifi2ApConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for Wifi2ApConfiguration
impl FromByteSlice for Wifi2ApConfiguration
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> Wifi2ApConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> Wifi2ApConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for Wifi2ApConfiguration
impl Hash for Wifi2ApConfiguration
source§impl PartialEq for Wifi2ApConfiguration
impl PartialEq for Wifi2ApConfiguration
source§fn eq(&self, other: &Wifi2ApConfiguration) -> bool
fn eq(&self, other: &Wifi2ApConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Wifi2ApConfiguration
impl StructuralPartialEq for Wifi2ApConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for Wifi2ApConfiguration
impl Send for Wifi2ApConfiguration
impl Sync for Wifi2ApConfiguration
impl Unpin for Wifi2ApConfiguration
impl UnwindSafe for Wifi2ApConfiguration
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