Struct google_api_proto::google::ads::googleads::v17::resources::GranularLicenseStatus
source · pub struct GranularLicenseStatus {
pub geo_criterion_id: Option<i64>,
pub category_id: Option<String>,
pub verification_status: Option<i32>,
}
Expand description
License status at geo + vertical level.
Fields§
§geo_criterion_id: Option<i64>
Output only. Geotarget criterion ID associated with the status. Can be on country or state/province geo level, depending on requirements and location. See https://developers.google.com/google-ads/api/data/geotargets for more information.
category_id: Option<String>
Output only. Service category associated with the status. For example, xcat:service_area_business_plumber. For more details see: https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
verification_status: Option<i32>
Output only. Granular license status, per geo + vertical.
Implementations§
source§impl GranularLicenseStatus
impl GranularLicenseStatus
sourcepub fn geo_criterion_id(&self) -> i64
pub fn geo_criterion_id(&self) -> i64
Returns the value of geo_criterion_id
, or the default value if geo_criterion_id
is unset.
sourcepub fn category_id(&self) -> &str
pub fn category_id(&self) -> &str
Returns the value of category_id
, or the default value if category_id
is unset.
sourcepub fn verification_status(&self) -> LocalServicesVerificationStatus
pub fn verification_status(&self) -> LocalServicesVerificationStatus
Returns the enum value of verification_status
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_verification_status(
&mut self,
value: LocalServicesVerificationStatus,
)
pub fn set_verification_status( &mut self, value: LocalServicesVerificationStatus, )
Sets verification_status
to the provided enum value.
Trait Implementations§
source§impl Clone for GranularLicenseStatus
impl Clone for GranularLicenseStatus
source§fn clone(&self) -> GranularLicenseStatus
fn clone(&self) -> GranularLicenseStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GranularLicenseStatus
impl Debug for GranularLicenseStatus
source§impl Default for GranularLicenseStatus
impl Default for GranularLicenseStatus
source§impl Message for GranularLicenseStatus
impl Message for GranularLicenseStatus
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 GranularLicenseStatus
impl PartialEq for GranularLicenseStatus
source§fn eq(&self, other: &GranularLicenseStatus) -> bool
fn eq(&self, other: &GranularLicenseStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GranularLicenseStatus
Auto Trait Implementations§
impl Freeze for GranularLicenseStatus
impl RefUnwindSafe for GranularLicenseStatus
impl Send for GranularLicenseStatus
impl Sync for GranularLicenseStatus
impl Unpin for GranularLicenseStatus
impl UnwindSafe for GranularLicenseStatus
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