Struct google_api_proto::google::ads::searchads360::v0::resources::CustomColumn
source · pub struct CustomColumn {
pub resource_name: String,
pub id: i64,
pub name: String,
pub description: String,
pub value_type: i32,
pub references_attributes: bool,
pub references_metrics: bool,
pub queryable: bool,
pub referenced_system_columns: Vec<String>,
pub render_type: i32,
}
Expand description
A custom column. See Search Ads 360 custom column at https://support.google.com/sa360/answer/9633916
Fields§
§resource_name: String
Immutable. The resource name of the custom column. Custom column resource names have the form:
customers/{customer_id}/customColumns/{custom_column_id}
id: i64
Output only. ID of the custom column.
name: String
Output only. User-defined name of the custom column.
description: String
Output only. User-defined description of the custom column.
value_type: i32
Output only. The type of the result value of the custom column.
references_attributes: bool
Output only. True when the custom column is referring to one or more attributes.
references_metrics: bool
Output only. True when the custom column is referring to one or more metrics.
queryable: bool
Output only. True when the custom column is available to be used in the query of SearchAds360Service.Search and SearchAds360Service.SearchStream.
referenced_system_columns: Vec<String>
Output only. The list of the referenced system columns of this custom column. For example, A custom column “sum of impressions and clicks” has referenced system columns of {“metrics.clicks”, “metrics.impressions”}.
render_type: i32
Output only. How the result value of the custom column should be interpreted.
Implementations§
source§impl CustomColumn
impl CustomColumn
sourcepub fn value_type(&self) -> CustomColumnValueType
pub fn value_type(&self) -> CustomColumnValueType
Returns the enum value of value_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_value_type(&mut self, value: CustomColumnValueType)
pub fn set_value_type(&mut self, value: CustomColumnValueType)
Sets value_type
to the provided enum value.
sourcepub fn render_type(&self) -> CustomColumnRenderType
pub fn render_type(&self) -> CustomColumnRenderType
Returns the enum value of render_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_render_type(&mut self, value: CustomColumnRenderType)
pub fn set_render_type(&mut self, value: CustomColumnRenderType)
Sets render_type
to the provided enum value.
Trait Implementations§
source§impl Clone for CustomColumn
impl Clone for CustomColumn
source§fn clone(&self) -> CustomColumn
fn clone(&self) -> CustomColumn
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomColumn
impl Debug for CustomColumn
source§impl Default for CustomColumn
impl Default for CustomColumn
source§impl Message for CustomColumn
impl Message for CustomColumn
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 CustomColumn
impl PartialEq for CustomColumn
source§fn eq(&self, other: &CustomColumn) -> bool
fn eq(&self, other: &CustomColumn) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomColumn
Auto Trait Implementations§
impl Freeze for CustomColumn
impl RefUnwindSafe for CustomColumn
impl Send for CustomColumn
impl Sync for CustomColumn
impl Unpin for CustomColumn
impl UnwindSafe for CustomColumn
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