pub struct SavedConnection {
pub uuid: String,
pub id: String,
pub kind: String,
pub settings: Value,
}Expand description
A connection NetworkManager saved, as for a Wi-Fi network joined before.
Fields§
§uuid: StringWhat names it for good, as forget and
clear_secrets take.
id: StringIts name, often the Wi-Fi network’s.
kind: StringNetworkManager’s type for it, such as 802-11-wireless,
802-3-ethernet, vpn or wireguard. Its settings for that type
are under the same name.
settings: ValueIts settings by group and name, such as settings["ipv4"]["method"],
without secrets, which NetworkManager never hands out with them. A
byte array, such as an SSID, is an array of numbers. null for one
whose settings didn’t fit in the 1 MiB kept for the whole list.
Trait Implementations§
Source§impl Clone for SavedConnection
impl Clone for SavedConnection
Source§impl Debug for SavedConnection
impl Debug for SavedConnection
Source§impl PartialEq for SavedConnection
impl PartialEq for SavedConnection
impl StructuralPartialEq for SavedConnection
Auto Trait Implementations§
impl Forget for SavedConnection
impl Freeze for SavedConnection
impl Move for SavedConnection
impl RefUnwindSafe for SavedConnection
impl Send for SavedConnection
impl Sync for SavedConnection
impl Unpin for SavedConnection
impl UnsafeUnpin for SavedConnection
impl UnwindSafe for SavedConnection
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