pub struct PolicyAlternativeNameServerConfig {
pub kind: Option<String>,
pub target_name_servers: Option<Vec<PolicyAlternativeNameServerConfigTargetNameServer>>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kind: Option<String>no description provided
target_name_servers: Option<Vec<PolicyAlternativeNameServerConfigTargetNameServer>>Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.
Trait Implementations§
Source§impl Clone for PolicyAlternativeNameServerConfig
impl Clone for PolicyAlternativeNameServerConfig
Source§fn clone(&self) -> PolicyAlternativeNameServerConfig
fn clone(&self) -> PolicyAlternativeNameServerConfig
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 PolicyAlternativeNameServerConfig
impl Default for PolicyAlternativeNameServerConfig
Source§fn default() -> PolicyAlternativeNameServerConfig
fn default() -> PolicyAlternativeNameServerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyAlternativeNameServerConfig
impl<'de> Deserialize<'de> for PolicyAlternativeNameServerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for PolicyAlternativeNameServerConfig
Auto Trait Implementations§
impl Freeze for PolicyAlternativeNameServerConfig
impl RefUnwindSafe for PolicyAlternativeNameServerConfig
impl Send for PolicyAlternativeNameServerConfig
impl Sync for PolicyAlternativeNameServerConfig
impl Unpin for PolicyAlternativeNameServerConfig
impl UnwindSafe for PolicyAlternativeNameServerConfig
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