Struct google_api_proto::google::ads::googleads::v15::resources::CustomerUserAccessInvitation
source · 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,
}
Expand description
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§
source§impl CustomerUserAccessInvitation
impl CustomerUserAccessInvitation
sourcepub fn access_role(&self) -> AccessRole
pub fn access_role(&self) -> AccessRole
Returns the enum value of access_role
, or the default if the field is set to an invalid enum value.
sourcepub fn set_access_role(&mut self, value: AccessRole)
pub fn set_access_role(&mut self, value: AccessRole)
Sets access_role
to the provided enum value.
sourcepub fn invitation_status(&self) -> AccessInvitationStatus
pub fn invitation_status(&self) -> AccessInvitationStatus
Returns the enum value of invitation_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_invitation_status(&mut self, value: AccessInvitationStatus)
pub fn set_invitation_status(&mut self, value: AccessInvitationStatus)
Sets invitation_status
to the provided enum value.
Trait Implementations§
source§impl Clone for CustomerUserAccessInvitation
impl Clone for CustomerUserAccessInvitation
source§fn clone(&self) -> CustomerUserAccessInvitation
fn clone(&self) -> CustomerUserAccessInvitation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerUserAccessInvitation
impl Debug for CustomerUserAccessInvitation
source§impl Message for CustomerUserAccessInvitation
impl Message for CustomerUserAccessInvitation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CustomerUserAccessInvitation
impl PartialEq for CustomerUserAccessInvitation
source§fn eq(&self, other: &CustomerUserAccessInvitation) -> bool
fn eq(&self, other: &CustomerUserAccessInvitation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerUserAccessInvitation
Auto Trait Implementations§
impl Freeze for CustomerUserAccessInvitation
impl RefUnwindSafe for CustomerUserAccessInvitation
impl Send for CustomerUserAccessInvitation
impl Sync for CustomerUserAccessInvitation
impl Unpin for CustomerUserAccessInvitation
impl UnwindSafe for CustomerUserAccessInvitation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request