Struct google_api_proto::google::ads::googleads::v15::resources::ProductLinkInvitation
source · 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(&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 ProductLinkInvitation
impl PartialEq for ProductLinkInvitation
source§fn eq(&self, other: &ProductLinkInvitation) -> bool
fn eq(&self, other: &ProductLinkInvitation) -> bool
self
and other
values to be equal, and is used
by ==
.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
§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