Struct gapi_grpc::google::appengine::v1::ResourceRecord[][src]

pub struct ResourceRecord {
    pub name: String,
    pub rrdata: String,
    pub type: i32,
}

A DNS resource record.

Fields

name: String

Relative name of the object affected by this record. Only applicable for CNAME records. Example: ‘www’.

rrdata: String

Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).

type: i32

Resource record type. Example: AAAA.

Implementations

impl ResourceRecord[src]

pub fn type(&self) -> RecordType[src]

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

pub fn set_type(&mut self, value: RecordType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for ResourceRecord[src]

impl Debug for ResourceRecord[src]

impl Default for ResourceRecord[src]

impl Message for ResourceRecord[src]

impl PartialEq<ResourceRecord> for ResourceRecord[src]

impl StructuralPartialEq for ResourceRecord[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceRecord

impl Send for ResourceRecord

impl Sync for ResourceRecord

impl Unpin for ResourceRecord

impl UnwindSafe for ResourceRecord

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]