pub struct NetworkIdentifier {
pub ssid: Ssid,
pub security_type: SecurityType,
}
Expand description
The network identifier is the SSID and security policy of the network, and it is used to distinguish networks. It mirrors the NetworkIdentifier in fidl_fuchsia_wlan_policy.
Fields§
§ssid: Ssid
§security_type: SecurityType
Implementations§
source§impl NetworkIdentifier
impl NetworkIdentifier
pub fn new(ssid: Ssid, security_type: SecurityType) -> Self
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for NetworkIdentifier
impl<'arbitrary> Arbitrary<'arbitrary> for NetworkIdentifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given unstructured data. Read moresource§impl Clone for NetworkIdentifier
impl Clone for NetworkIdentifier
source§fn clone(&self) -> NetworkIdentifier
fn clone(&self) -> NetworkIdentifier
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 From<NetworkIdentifier> for NetworkIdentifier
impl From<NetworkIdentifier> for NetworkIdentifier
source§fn from(id: NetworkIdentifier) -> Self
fn from(id: NetworkIdentifier) -> Self
Converts to this type from the input type.
source§impl From<NetworkIdentifier> for NetworkIdentifier
impl From<NetworkIdentifier> for NetworkIdentifier
source§fn from(id: NetworkIdentifier) -> Self
fn from(id: NetworkIdentifier) -> Self
Converts to this type from the input type.
source§impl From<NetworkIdentifier> for NetworkIdentifier
impl From<NetworkIdentifier> for NetworkIdentifier
source§fn from(item: NetworkIdentifier) -> Self
fn from(item: NetworkIdentifier) -> Self
Converts to this type from the input type.
source§impl From<NetworkIdentifier> for NetworkIdentifier
impl From<NetworkIdentifier> for NetworkIdentifier
source§fn from(item: NetworkIdentifier) -> Self
fn from(item: NetworkIdentifier) -> Self
Converts to this type from the input type.
source§impl Hash for NetworkIdentifier
impl Hash for NetworkIdentifier
source§impl PartialEq for NetworkIdentifier
impl PartialEq for NetworkIdentifier
source§fn eq(&self, other: &NetworkIdentifier) -> bool
fn eq(&self, other: &NetworkIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NetworkIdentifier
impl StructuralPartialEq for NetworkIdentifier
Auto Trait Implementations§
impl Freeze for NetworkIdentifier
impl RefUnwindSafe for NetworkIdentifier
impl Send for NetworkIdentifier
impl Sync for NetworkIdentifier
impl Unpin for NetworkIdentifier
impl UnwindSafe for NetworkIdentifier
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