Struct google_api_proto::google::ads::googleads::v17::resources::CustomerClientLink
source · pub struct CustomerClientLink {
pub resource_name: String,
pub client_customer: Option<String>,
pub manager_link_id: Option<i64>,
pub status: i32,
pub hidden: Option<bool>,
}
Expand description
Represents customer client link relationship.
Fields§
§resource_name: String
Immutable. Name of the resource.
CustomerClientLink resource names have the form:
customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}
client_customer: Option<String>
Immutable. The client customer linked to this customer.
manager_link_id: Option<i64>
Output only. This is uniquely identifies a customer client link. Read only.
status: i32
This is the status of the link between client and manager.
The visibility of the link. Users can choose whether or not to see hidden links in the Google Ads UI. Default value is false
Implementations§
source§impl CustomerClientLink
impl CustomerClientLink
sourcepub fn status(&self) -> ManagerLinkStatus
pub fn status(&self) -> ManagerLinkStatus
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: ManagerLinkStatus)
pub fn set_status(&mut self, value: ManagerLinkStatus)
Sets status
to the provided enum value.
sourcepub fn client_customer(&self) -> &str
pub fn client_customer(&self) -> &str
Returns the value of client_customer
, or the default value if client_customer
is unset.
sourcepub fn manager_link_id(&self) -> i64
pub fn manager_link_id(&self) -> i64
Returns the value of manager_link_id
, or the default value if manager_link_id
is unset.
Returns the value of hidden
, or the default value if hidden
is unset.
Trait Implementations§
source§impl Clone for CustomerClientLink
impl Clone for CustomerClientLink
source§fn clone(&self) -> CustomerClientLink
fn clone(&self) -> CustomerClientLink
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerClientLink
impl Debug for CustomerClientLink
source§impl Default for CustomerClientLink
impl Default for CustomerClientLink
source§impl Message for CustomerClientLink
impl Message for CustomerClientLink
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 CustomerClientLink
impl PartialEq for CustomerClientLink
source§fn eq(&self, other: &CustomerClientLink) -> bool
fn eq(&self, other: &CustomerClientLink) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerClientLink
Auto Trait Implementations§
impl Freeze for CustomerClientLink
impl RefUnwindSafe for CustomerClientLink
impl Send for CustomerClientLink
impl Sync for CustomerClientLink
impl Unpin for CustomerClientLink
impl UnwindSafe for CustomerClientLink
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