pub struct DnsKeySpec {
pub algorithm: Option<String>,
pub key_length: Option<u32>,
pub key_type: Option<String>,
pub kind: Option<String>,
}Expand description
Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
This type is not used in any activity, and only used as part of another schema.
Fields§
§algorithm: Option<String>String mnemonic specifying the DNSSEC algorithm of this key.
key_length: Option<u32>Length of the keys in bits.
key_type: Option<String>Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.
kind: Option<String>no description provided
Trait Implementations§
Source§impl Clone for DnsKeySpec
impl Clone for DnsKeySpec
Source§fn clone(&self) -> DnsKeySpec
fn clone(&self) -> DnsKeySpec
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 DnsKeySpec
impl Debug for DnsKeySpec
Source§impl Default for DnsKeySpec
impl Default for DnsKeySpec
Source§fn default() -> DnsKeySpec
fn default() -> DnsKeySpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DnsKeySpec
impl<'de> Deserialize<'de> for DnsKeySpec
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 Serialize for DnsKeySpec
impl Serialize for DnsKeySpec
impl Part for DnsKeySpec
Auto Trait Implementations§
impl Freeze for DnsKeySpec
impl RefUnwindSafe for DnsKeySpec
impl Send for DnsKeySpec
impl Sync for DnsKeySpec
impl Unpin for DnsKeySpec
impl UnwindSafe for DnsKeySpec
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