Struct gapi_grpc::google::ads::googleads::v7::resources::GoogleAdsField [−][src]
A field or resource (artifact) used by GoogleAdsService.
Fields
resource_name: String
Output only. The resource name of the artifact. Artifact resource names have the form:
googleAdsFields/{name}
name: String
Output only. The name of the artifact.
category: i32
Output only. The category of the artifact.
selectable: bool
Output only. Whether the artifact can be used in a SELECT clause in search queries.
filterable: bool
Output only. Whether the artifact can be used in a WHERE clause in search queries.
sortable: bool
Output only. Whether the artifact can be used in a ORDER BY clause in search queries.
selectable_with: Vec<String>
Output only. The names of all resources, segments, and metrics that are selectable with the described artifact.
attribute_resources: Vec<String>
Output only. The names of all resources that are selectable with the described artifact. Fields from these resources do not segment metrics when included in search queries.
This field is only set for artifacts whose category is RESOURCE.
metrics: Vec<String>
Output only. At and beyond version V1 this field lists the names of all metrics that are selectable with the described artifact when it is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
Before version V1 this field lists the names of all metrics that are selectable with the described artifact. It is only set for artifacts whose category is either RESOURCE or SEGMENT
segments: Vec<String>
Output only. At and beyond version V1 this field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries and when the described artifact is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
Before version V1 this field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries. It is only set for artifacts of category RESOURCE, SEGMENT or METRIC.
enum_values: Vec<String>
Output only. Values the artifact can assume if it is a field of type ENUM.
This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
data_type: i32
Output only. This field determines the operators that can be used with the artifact in WHERE clauses.
type_url: String
Output only. The URL of proto describing the artifact’s data type.
is_repeated: bool
Output only. Whether the field artifact is repeated.
Implementations
impl GoogleAdsField
[src]
pub fn category(&self) -> GoogleAdsFieldCategory
[src]
Returns the enum value of category
, or the default if the field is set to an invalid enum value.
pub fn set_category(&mut self, value: GoogleAdsFieldCategory)
[src]
Sets category
to the provided enum value.
pub fn data_type(&self) -> GoogleAdsFieldDataType
[src]
Returns the enum value of data_type
, or the default if the field is set to an invalid enum value.
pub fn set_data_type(&mut self, value: GoogleAdsFieldDataType)
[src]
Sets data_type
to the provided enum value.
Trait Implementations
impl Clone for GoogleAdsField
[src]
fn clone(&self) -> GoogleAdsField
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleAdsField
[src]
impl Default for GoogleAdsField
[src]
fn default() -> GoogleAdsField
[src]
impl Message for GoogleAdsField
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<GoogleAdsField> for GoogleAdsField
[src]
fn eq(&self, other: &GoogleAdsField) -> bool
[src]
fn ne(&self, other: &GoogleAdsField) -> bool
[src]
impl StructuralPartialEq for GoogleAdsField
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleAdsField
impl Send for GoogleAdsField
impl Sync for GoogleAdsField
impl Unpin for GoogleAdsField
impl UnwindSafe for GoogleAdsField
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,