pub struct DnsPolicyResponse {
pub id: Uuid,
pub policy_type: String,
pub enabled: bool,
pub domain: Option<String>,
pub metadata: Value,
pub extra: HashMap<String, Value>,
}Expand description
DNS policy — from GET /v1/sites/{siteId}/dns/policies.
Fields§
§id: Uuid§policy_type: String§enabled: bool§domain: Option<String>§metadata: Value§extra: HashMap<String, Value>Type-specific fields vary by policy type.
Trait Implementations§
Source§impl Clone for DnsPolicyResponse
impl Clone for DnsPolicyResponse
Source§fn clone(&self) -> DnsPolicyResponse
fn clone(&self) -> DnsPolicyResponse
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 DnsPolicyResponse
impl Debug for DnsPolicyResponse
Source§impl<'de> Deserialize<'de> for DnsPolicyResponse
impl<'de> Deserialize<'de> for DnsPolicyResponse
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 From<DnsPolicyResponse> for DnsPolicy
impl From<DnsPolicyResponse> for DnsPolicy
Source§fn from(d: DnsPolicyResponse) -> Self
fn from(d: DnsPolicyResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DnsPolicyResponse
impl PartialEq for DnsPolicyResponse
Source§impl Serialize for DnsPolicyResponse
impl Serialize for DnsPolicyResponse
impl StructuralPartialEq for DnsPolicyResponse
Auto Trait Implementations§
impl Freeze for DnsPolicyResponse
impl RefUnwindSafe for DnsPolicyResponse
impl Send for DnsPolicyResponse
impl Sync for DnsPolicyResponse
impl Unpin for DnsPolicyResponse
impl UnsafeUnpin for DnsPolicyResponse
impl UnwindSafe for DnsPolicyResponse
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