Struct gapi_grpc::google::analytics::admin::v1alpha::ChangeHistoryChange[][src]

pub struct ChangeHistoryChange {
    pub resource: String,
    pub action: i32,
    pub resource_before_change: Option<ChangeHistoryResource>,
    pub resource_after_change: Option<ChangeHistoryResource>,
}

A description of a change to a single Google Analytics resource.

Fields

resource: String

Resource name of the resource whose changes are described by this entry.

action: i32

The type of action that changed this resource.

resource_before_change: Option<ChangeHistoryResource>

Resource contents from before the change was made. If this resource was created in this change, this field will be missing.

resource_after_change: Option<ChangeHistoryResource>

Resource contents from after the change was made. If this resource was deleted in this change, this field will be missing.

Implementations

impl ChangeHistoryChange[src]

pub fn action(&self) -> ActionType[src]

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

pub fn set_action(&mut self, value: ActionType)[src]

Sets action to the provided enum value.

Trait Implementations

impl Clone for ChangeHistoryChange[src]

impl Debug for ChangeHistoryChange[src]

impl Default for ChangeHistoryChange[src]

impl Message for ChangeHistoryChange[src]

impl PartialEq<ChangeHistoryChange> for ChangeHistoryChange[src]

impl StructuralPartialEq for ChangeHistoryChange[src]

Auto Trait Implementations

impl RefUnwindSafe for ChangeHistoryChange

impl Send for ChangeHistoryChange

impl Sync for ChangeHistoryChange

impl Unpin for ChangeHistoryChange

impl UnwindSafe for ChangeHistoryChange

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]