pub struct OperatingSystemVersionConstant {
pub resource_name: String,
pub id: i64,
pub name: String,
pub os_major_version: i32,
pub os_minor_version: i32,
pub operator_type: i32,
}
Expand description
A mobile operating system version or a range of versions, depending on
operator_type
. List of available mobile platforms at
https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms
Fields§
§resource_name: String
Output only. The resource name of the operating system version constant. Operating system version constant resource names have the form:
operatingSystemVersionConstants/{criterion_id}
id: i64
Output only. The ID of the operating system version.
name: String
Output only. Name of the operating system.
os_major_version: i32
Output only. The OS Major Version number.
os_minor_version: i32
Output only. The OS Minor Version number.
operator_type: i32
Output only. Determines whether this constant represents a single version or a range of versions.
Implementations§
Source§impl OperatingSystemVersionConstant
impl OperatingSystemVersionConstant
Sourcepub fn operator_type(&self) -> OperatingSystemVersionOperatorType
pub fn operator_type(&self) -> OperatingSystemVersionOperatorType
Returns the enum value of operator_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_operator_type(&mut self, value: OperatingSystemVersionOperatorType)
pub fn set_operator_type(&mut self, value: OperatingSystemVersionOperatorType)
Sets operator_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for OperatingSystemVersionConstant
impl Clone for OperatingSystemVersionConstant
Source§fn clone(&self) -> OperatingSystemVersionConstant
fn clone(&self) -> OperatingSystemVersionConstant
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Message for OperatingSystemVersionConstant
impl Message for OperatingSystemVersionConstant
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 OperatingSystemVersionConstant
impl PartialEq for OperatingSystemVersionConstant
Source§fn eq(&self, other: &OperatingSystemVersionConstant) -> bool
fn eq(&self, other: &OperatingSystemVersionConstant) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OperatingSystemVersionConstant
Auto Trait Implementations§
impl Freeze for OperatingSystemVersionConstant
impl RefUnwindSafe for OperatingSystemVersionConstant
impl Send for OperatingSystemVersionConstant
impl Sync for OperatingSystemVersionConstant
impl Unpin for OperatingSystemVersionConstant
impl UnwindSafe for OperatingSystemVersionConstant
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