pub struct NetworkPropertiesChange {
pub added: bool,
pub marks: Option<Marks>,
pub dns_servers: Option<Vec<DnsServer_>>,
pub connectivity_state: Option<ConnectivityState>,
pub name: Option<String>,
pub network_type: Option<NetworkType>,
}Expand description
An event representing the properties that changed for a network.
Fields§
§added: boolWhen true, this is a new network being added. Otherwise, this is an update to an existing network.
marks: Option<Marks>The new marks for the network.
dns_servers: Option<Vec<DnsServer_>>If present, contains the new DNS servers for this network.
connectivity_state: Option<ConnectivityState>The new connectivity state of the network.
name: Option<String>The name of the network.
network_type: Option<NetworkType>The transport type of the network.
Trait Implementations§
Source§impl Clone for NetworkPropertiesChange
impl Clone for NetworkPropertiesChange
Source§fn clone(&self) -> NetworkPropertiesChange
fn clone(&self) -> NetworkPropertiesChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkPropertiesChange
impl Debug for NetworkPropertiesChange
Source§impl Default for NetworkPropertiesChange
impl Default for NetworkPropertiesChange
Source§fn default() -> NetworkPropertiesChange
fn default() -> NetworkPropertiesChange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetworkPropertiesChange
impl RefUnwindSafe for NetworkPropertiesChange
impl Send for NetworkPropertiesChange
impl Sync for NetworkPropertiesChange
impl Unpin for NetworkPropertiesChange
impl UnsafeUnpin for NetworkPropertiesChange
impl UnwindSafe for NetworkPropertiesChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.