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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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