Struct gapi_grpc::google::ads::googleads::v7::resources::CustomerUserAccessInvitation[][src]

pub struct CustomerUserAccessInvitation {
    pub resource_name: String,
    pub invitation_id: i64,
    pub access_role: i32,
    pub email_address: String,
    pub creation_date_time: String,
    pub invitation_status: i32,
}

Represent an invitation to a new user on this customer account.

Fields

resource_name: String

Immutable. Name of the resource. Resource names have the form: customers/{customer_id}/customerUserAccessInvitations/{invitation_id}

invitation_id: i64

Output only. The ID of the invitation. This field is read-only.

access_role: i32

Immutable. Access role of the user.

email_address: String

Immutable. Email address the invitation was sent to. This can differ from the email address of the account that accepts the invite.

creation_date_time: String

Output only. Time invitation was created. This field is read-only. The format is “YYYY-MM-DD HH:MM:SS”. Examples: “2018-03-05 09:15:00” or “2018-02-01 14:34:30”

invitation_status: i32

Output only. Invitation status of the user.

Implementations

impl CustomerUserAccessInvitation[src]

pub fn access_role(&self) -> AccessRole[src]

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

pub fn set_access_role(&mut self, value: AccessRole)[src]

Sets access_role to the provided enum value.

pub fn invitation_status(&self) -> AccessInvitationStatus[src]

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

pub fn set_invitation_status(&mut self, value: AccessInvitationStatus)[src]

Sets invitation_status to the provided enum value.

Trait Implementations

impl Clone for CustomerUserAccessInvitation[src]

impl Debug for CustomerUserAccessInvitation[src]

impl Default for CustomerUserAccessInvitation[src]

impl Message for CustomerUserAccessInvitation[src]

impl PartialEq<CustomerUserAccessInvitation> for CustomerUserAccessInvitation[src]

impl StructuralPartialEq for CustomerUserAccessInvitation[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomerUserAccessInvitation

impl Send for CustomerUserAccessInvitation

impl Sync for CustomerUserAccessInvitation

impl Unpin for CustomerUserAccessInvitation

impl UnwindSafe for CustomerUserAccessInvitation

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]