Struct google_api_proto::google::ads::googleads::v17::resources::BusinessRegistrationCheckVerificationArtifact
source · pub struct BusinessRegistrationCheckVerificationArtifact {
pub registration_type: Option<i32>,
pub check_id: Option<String>,
pub rejection_reason: Option<i32>,
pub business_registration: Option<BusinessRegistration>,
}
Expand description
A proto holding information specific to a local services business registration check.
Fields§
§registration_type: Option<i32>
Output only. The type of business registration check (number, document).
check_id: Option<String>
Output only. The id of the check, such as vat_tax_id, representing “VAT Tax ID” requirement.
rejection_reason: Option<i32>
Output only. Registration document rejection reason.
business_registration: Option<BusinessRegistration>
Registration information for the business registration. It will be one of the following forms based on the requirement from different countries.
Implementations§
source§impl BusinessRegistrationCheckVerificationArtifact
impl BusinessRegistrationCheckVerificationArtifact
sourcepub fn registration_type(&self) -> LocalServicesBusinessRegistrationType
pub fn registration_type(&self) -> LocalServicesBusinessRegistrationType
Returns the enum value of registration_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_registration_type(
&mut self,
value: LocalServicesBusinessRegistrationType,
)
pub fn set_registration_type( &mut self, value: LocalServicesBusinessRegistrationType, )
Sets registration_type
to the provided enum value.
sourcepub fn check_id(&self) -> &str
pub fn check_id(&self) -> &str
Returns the value of check_id
, or the default value if check_id
is unset.
sourcepub fn rejection_reason(
&self,
) -> LocalServicesBusinessRegistrationCheckRejectionReason
pub fn rejection_reason( &self, ) -> LocalServicesBusinessRegistrationCheckRejectionReason
Returns the enum value of rejection_reason
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_rejection_reason(
&mut self,
value: LocalServicesBusinessRegistrationCheckRejectionReason,
)
pub fn set_rejection_reason( &mut self, value: LocalServicesBusinessRegistrationCheckRejectionReason, )
Sets rejection_reason
to the provided enum value.
Trait Implementations§
source§impl Clone for BusinessRegistrationCheckVerificationArtifact
impl Clone for BusinessRegistrationCheckVerificationArtifact
source§fn clone(&self) -> BusinessRegistrationCheckVerificationArtifact
fn clone(&self) -> BusinessRegistrationCheckVerificationArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for BusinessRegistrationCheckVerificationArtifact
impl Message for BusinessRegistrationCheckVerificationArtifact
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 BusinessRegistrationCheckVerificationArtifact
impl PartialEq for BusinessRegistrationCheckVerificationArtifact
source§fn eq(&self, other: &BusinessRegistrationCheckVerificationArtifact) -> bool
fn eq(&self, other: &BusinessRegistrationCheckVerificationArtifact) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BusinessRegistrationCheckVerificationArtifact
Auto Trait Implementations§
impl Freeze for BusinessRegistrationCheckVerificationArtifact
impl RefUnwindSafe for BusinessRegistrationCheckVerificationArtifact
impl Send for BusinessRegistrationCheckVerificationArtifact
impl Sync for BusinessRegistrationCheckVerificationArtifact
impl Unpin for BusinessRegistrationCheckVerificationArtifact
impl UnwindSafe for BusinessRegistrationCheckVerificationArtifact
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