Struct google_dns1::api::Operation[][src]

pub struct Operation {
    pub dns_key_context: Option<OperationDnsKeyContext>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub start_time: Option<String>,
    pub status: Option<String>,
    pub type_: Option<String>,
    pub user: Option<String>,
    pub zone_context: Option<OperationManagedZoneContext>,
}

An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

dns_key_context: Option<OperationDnsKeyContext>

Only populated if the operation targeted a DnsKey (output only).

id: Option<String>

Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)

kind: Option<String>

no description provided

start_time: Option<String>

The time that this operation was started by the server. This is in RFC3339 text format (output only).

status: Option<String>

Status of the operation. Can be one of the following: "PENDING" or "DONE" (output only). A status of "DONE" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.

type_: Option<String>

Type of the operation. Operations include insert, update, and delete (output only).

user: Option<String>

User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)

zone_context: Option<OperationManagedZoneContext>

Only populated if the operation targeted a ManagedZone (output only).

Trait Implementations

impl Clone for Operation[src]

impl Debug for Operation[src]

impl Default for Operation[src]

impl<'de> Deserialize<'de> for Operation[src]

impl ResponseResult for Operation[src]

impl Serialize for Operation[src]

Auto Trait Implementations

impl RefUnwindSafe for Operation[src]

impl Send for Operation[src]

impl Sync for Operation[src]

impl Unpin for Operation[src]

impl UnwindSafe for Operation[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.