Struct google_api_proto::google::ads::googleads::v17::resources::GranularInsuranceStatus
source · pub struct GranularInsuranceStatus {
pub geo_criterion_id: Option<i64>,
pub category_id: Option<String>,
pub verification_status: Option<i32>,
}
Expand description
Insurance 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 insurance status, per geo + vertical.
Implementations§
source§impl GranularInsuranceStatus
impl GranularInsuranceStatus
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 GranularInsuranceStatus
impl Clone for GranularInsuranceStatus
source§fn clone(&self) -> GranularInsuranceStatus
fn clone(&self) -> GranularInsuranceStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GranularInsuranceStatus
impl Debug for GranularInsuranceStatus
source§impl Default for GranularInsuranceStatus
impl Default for GranularInsuranceStatus
source§impl Message for GranularInsuranceStatus
impl Message for GranularInsuranceStatus
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 GranularInsuranceStatus
impl PartialEq for GranularInsuranceStatus
source§fn eq(&self, other: &GranularInsuranceStatus) -> bool
fn eq(&self, other: &GranularInsuranceStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GranularInsuranceStatus
Auto Trait Implementations§
impl Freeze for GranularInsuranceStatus
impl RefUnwindSafe for GranularInsuranceStatus
impl Send for GranularInsuranceStatus
impl Sync for GranularInsuranceStatus
impl Unpin for GranularInsuranceStatus
impl UnwindSafe for GranularInsuranceStatus
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