pub struct NetworkInterfacePermissionState {
pub state: Option<String>,
pub status_message: Option<String>,
}Expand description
Describes the state of a network interface permission.
Fields§
§state: Option<String>The state of the permission.
status_message: Option<String>A status message, if applicable.
Trait Implementations§
Source§impl Clone for NetworkInterfacePermissionState
impl Clone for NetworkInterfacePermissionState
Source§fn clone(&self) -> NetworkInterfacePermissionState
fn clone(&self) -> NetworkInterfacePermissionState
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 Default for NetworkInterfacePermissionState
impl Default for NetworkInterfacePermissionState
Source§fn default() -> NetworkInterfacePermissionState
fn default() -> NetworkInterfacePermissionState
Returns the “default value” for a type. Read more
Source§impl PartialEq for NetworkInterfacePermissionState
impl PartialEq for NetworkInterfacePermissionState
Source§fn eq(&self, other: &NetworkInterfacePermissionState) -> bool
fn eq(&self, other: &NetworkInterfacePermissionState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NetworkInterfacePermissionState
Auto Trait Implementations§
impl Freeze for NetworkInterfacePermissionState
impl RefUnwindSafe for NetworkInterfacePermissionState
impl Send for NetworkInterfacePermissionState
impl Sync for NetworkInterfacePermissionState
impl Unpin for NetworkInterfacePermissionState
impl UnwindSafe for NetworkInterfacePermissionState
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