Enum google_api_proto::google::ads::googleads::v15::enums::local_services_insurance_rejection_reason_enum::LocalServicesInsuranceRejectionReason
source · #[repr(i32)]pub enum LocalServicesInsuranceRejectionReason {
Show 16 variants
Unspecified = 0,
Unknown = 1,
BusinessNameMismatch = 2,
InsuranceAmountInsufficient = 3,
Expired = 4,
NoSignature = 5,
NoPolicyNumber = 6,
NoCommercialGeneralLiability = 7,
EditableFormat = 8,
CategoryMismatch = 9,
MissingExpirationDate = 10,
PoorQuality = 11,
PotentiallyEdited = 12,
WrongDocumentType = 13,
NonFinal = 14,
Other = 15,
}
Expand description
Enums describing possible rejection reasons of a local services insurance verification artifact.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
BusinessNameMismatch = 2
Business name doesn’t match business name for the Local Services Ad.
InsuranceAmountInsufficient = 3
Insurance amount doesn’t meet requirement listed in the legal summaries documentation for that geographic + category ID combination.
Expired = 4
Insurance document is expired.
NoSignature = 5
Insurance document is missing a signature.
NoPolicyNumber = 6
Insurance document is missing a policy number.
NoCommercialGeneralLiability = 7
Commercial General Liability(CGL) box is not marked in the insurance document.
EditableFormat = 8
Insurance document is in an editable format.
CategoryMismatch = 9
Insurance document does not cover insurance for a particular category.
MissingExpirationDate = 10
Insurance document is missing an expiration date.
PoorQuality = 11
Insurance document is poor quality - blurry images, illegible, etc…
PotentiallyEdited = 12
Insurance document is suspected of being edited.
WrongDocumentType = 13
Insurance document not accepted. For example, documents of insurance proposals, but missing coverages are not accepted.
NonFinal = 14
Insurance document is not final.
Other = 15
Insurance document has another flaw not listed explicitly.
Implementations§
source§impl LocalServicesInsuranceRejectionReason
impl LocalServicesInsuranceRejectionReason
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of LocalServicesInsuranceRejectionReason
.
sourcepub fn from_i32(value: i32) -> Option<LocalServicesInsuranceRejectionReason>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<LocalServicesInsuranceRejectionReason>
Converts an i32
to a LocalServicesInsuranceRejectionReason
, or None
if value
is not a valid variant.
source§impl LocalServicesInsuranceRejectionReason
impl LocalServicesInsuranceRejectionReason
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for LocalServicesInsuranceRejectionReason
impl Clone for LocalServicesInsuranceRejectionReason
source§fn clone(&self) -> LocalServicesInsuranceRejectionReason
fn clone(&self) -> LocalServicesInsuranceRejectionReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LocalServicesInsuranceRejectionReason
impl Default for LocalServicesInsuranceRejectionReason
source§fn default() -> LocalServicesInsuranceRejectionReason
fn default() -> LocalServicesInsuranceRejectionReason
source§impl From<LocalServicesInsuranceRejectionReason> for i32
impl From<LocalServicesInsuranceRejectionReason> for i32
source§fn from(value: LocalServicesInsuranceRejectionReason) -> i32
fn from(value: LocalServicesInsuranceRejectionReason) -> i32
source§impl Ord for LocalServicesInsuranceRejectionReason
impl Ord for LocalServicesInsuranceRejectionReason
source§fn cmp(&self, other: &LocalServicesInsuranceRejectionReason) -> Ordering
fn cmp(&self, other: &LocalServicesInsuranceRejectionReason) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for LocalServicesInsuranceRejectionReason
impl PartialEq for LocalServicesInsuranceRejectionReason
source§fn eq(&self, other: &LocalServicesInsuranceRejectionReason) -> bool
fn eq(&self, other: &LocalServicesInsuranceRejectionReason) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LocalServicesInsuranceRejectionReason
impl PartialOrd for LocalServicesInsuranceRejectionReason
source§fn partial_cmp(
&self,
other: &LocalServicesInsuranceRejectionReason
) -> Option<Ordering>
fn partial_cmp( &self, other: &LocalServicesInsuranceRejectionReason ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for LocalServicesInsuranceRejectionReason
impl TryFrom<i32> for LocalServicesInsuranceRejectionReason
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(
value: i32
) -> Result<LocalServicesInsuranceRejectionReason, DecodeError>
fn try_from( value: i32 ) -> Result<LocalServicesInsuranceRejectionReason, DecodeError>
impl Copy for LocalServicesInsuranceRejectionReason
impl Eq for LocalServicesInsuranceRejectionReason
impl StructuralPartialEq for LocalServicesInsuranceRejectionReason
Auto Trait Implementations§
impl Freeze for LocalServicesInsuranceRejectionReason
impl RefUnwindSafe for LocalServicesInsuranceRejectionReason
impl Send for LocalServicesInsuranceRejectionReason
impl Sync for LocalServicesInsuranceRejectionReason
impl Unpin for LocalServicesInsuranceRejectionReason
impl UnwindSafe for LocalServicesInsuranceRejectionReason
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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