pub struct DnsPolicyCreateUpdate {
pub policy_type: String,
pub enabled: bool,
pub fields: Map<String, Value>,
}Expand description
Create or update a DNS policy.
Fields§
§policy_type: String§enabled: bool§fields: Map<String, Value>Type-specific fields vary by policy type.
Trait Implementations§
Source§impl Clone for DnsPolicyCreateUpdate
impl Clone for DnsPolicyCreateUpdate
Source§fn clone(&self) -> DnsPolicyCreateUpdate
fn clone(&self) -> DnsPolicyCreateUpdate
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 Debug for DnsPolicyCreateUpdate
impl Debug for DnsPolicyCreateUpdate
Source§impl<'de> Deserialize<'de> for DnsPolicyCreateUpdate
impl<'de> Deserialize<'de> for DnsPolicyCreateUpdate
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
Source§impl PartialEq for DnsPolicyCreateUpdate
impl PartialEq for DnsPolicyCreateUpdate
Source§impl Serialize for DnsPolicyCreateUpdate
impl Serialize for DnsPolicyCreateUpdate
impl StructuralPartialEq for DnsPolicyCreateUpdate
Auto Trait Implementations§
impl Freeze for DnsPolicyCreateUpdate
impl RefUnwindSafe for DnsPolicyCreateUpdate
impl Send for DnsPolicyCreateUpdate
impl Sync for DnsPolicyCreateUpdate
impl Unpin for DnsPolicyCreateUpdate
impl UnsafeUnpin for DnsPolicyCreateUpdate
impl UnwindSafe for DnsPolicyCreateUpdate
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