Struct gapi_grpc::google::cloud::domains::v1beta1::dns_settings::DsRecord[][src]

pub struct DsRecord {
    pub key_tag: i32,
    pub algorithm: i32,
    pub digest_type: i32,
    pub digest: String,
}

Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain’s DNS zone.

Fields

key_tag: i32

The key tag of the record. Must be set in range 0 – 65535.

algorithm: i32

The algorithm used to generate the referenced DNSKEY.

digest_type: i32

The hash function used to generate the digest of the referenced DNSKEY.

digest: String

The digest generated from the referenced DNSKEY.

Implementations

impl DsRecord[src]

pub fn algorithm(&self) -> Algorithm[src]

Returns the enum value of algorithm, or the default if the field is set to an invalid enum value.

pub fn set_algorithm(&mut self, value: Algorithm)[src]

Sets algorithm to the provided enum value.

pub fn digest_type(&self) -> DigestType[src]

Returns the enum value of digest_type, or the default if the field is set to an invalid enum value.

pub fn set_digest_type(&mut self, value: DigestType)[src]

Sets digest_type to the provided enum value.

Trait Implementations

impl Clone for DsRecord[src]

impl Debug for DsRecord[src]

impl Default for DsRecord[src]

impl Message for DsRecord[src]

impl PartialEq<DsRecord> for DsRecord[src]

impl StructuralPartialEq for DsRecord[src]

Auto Trait Implementations

impl RefUnwindSafe for DsRecord

impl Send for DsRecord

impl Sync for DsRecord

impl Unpin for DsRecord

impl UnwindSafe for DsRecord

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]