pub struct NetworkInformation {
pub ssid: String,
pub psk: String,
pub mac_addr: String,
pub ip: String,
pub port: u16,
pub security_mode: SecurityMode,
pub ap_type: AccessPointType,
}Expand description
The wireless network information to relay to the compatible android auto device
Fields§
§ssid: StringThe ssid of the wireless network
psk: StringThe password for the wireless network
mac_addr: StringUnsure, probably the mac address of the android auto host
ip: StringThe ip address of the android auto host
port: u16The port that the android auto host should listen on
security_mode: SecurityModeThe security mode for the wireless network
ap_type: AccessPointTypeThe access point type of the wireless network
Trait Implementations§
Source§impl Clone for NetworkInformation
impl Clone for NetworkInformation
Source§fn clone(&self) -> NetworkInformation
fn clone(&self) -> NetworkInformation
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 moreAuto Trait Implementations§
impl Freeze for NetworkInformation
impl RefUnwindSafe for NetworkInformation
impl Send for NetworkInformation
impl Sync for NetworkInformation
impl Unpin for NetworkInformation
impl UnwindSafe for NetworkInformation
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