pub struct ProductLinkInvitation {
pub resource_name: String,
pub product_link_invitation_id: i64,
pub status: i32,
pub type: i32,
pub invited_account: Option<InvitedAccount>,
}
Expand description
Represents an invitation for data sharing connection between a Google Ads account and another account.
Fields§
§resource_name: String
Immutable. The resource name of a product link invitation. Product link invitation resource names have the form:
customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}
product_link_invitation_id: i64
Output only. The ID of the product link invitation. This field is read only.
status: i32
Output only. The status of the product link invitation. This field is read only.
type: i32
Output only. The type of the invited account. This field is read only and can be used for filtering invitations with {@code GoogleAdsService.SearchGoogleAdsRequest}.
invited_account: Option<InvitedAccount>
An account invited to link to this Google Ads account.
Implementations§
Source§impl ProductLinkInvitation
impl ProductLinkInvitation
Sourcepub fn status(&self) -> ProductLinkInvitationStatus
pub fn status(&self) -> ProductLinkInvitationStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_status(&mut self, value: ProductLinkInvitationStatus)
pub fn set_status(&mut self, value: ProductLinkInvitationStatus)
Sets status
to the provided enum value.
Sourcepub fn type(&self) -> LinkedProductType
pub fn type(&self) -> LinkedProductType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_type(&mut self, value: LinkedProductType)
pub fn set_type(&mut self, value: LinkedProductType)
Sets type
to the provided enum value.
Trait Implementations§
Source§impl Clone for ProductLinkInvitation
impl Clone for ProductLinkInvitation
Source§fn clone(&self) -> ProductLinkInvitation
fn clone(&self) -> ProductLinkInvitation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ProductLinkInvitation
impl Debug for ProductLinkInvitation
Source§impl Default for ProductLinkInvitation
impl Default for ProductLinkInvitation
Source§impl Message for ProductLinkInvitation
impl Message for ProductLinkInvitation
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 ProductLinkInvitation
impl PartialEq for ProductLinkInvitation
impl StructuralPartialEq for ProductLinkInvitation
Auto Trait Implementations§
impl Freeze for ProductLinkInvitation
impl RefUnwindSafe for ProductLinkInvitation
impl Send for ProductLinkInvitation
impl Sync for ProductLinkInvitation
impl Unpin for ProductLinkInvitation
impl UnwindSafe for ProductLinkInvitation
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