pub struct BusinessRegistrationCheckVerificationArtifact {
pub registration_type: i32,
pub check_id: String,
pub rejection_reason: i32,
pub business_registration: Option<BusinessRegistration>,
}
Expand description
A proto holding information specific to a local services business registration check.
Output only. The type of business registration check (number, document).
Fields§
§registration_type: i32
§check_id: String
Output only. The id of the check, such as vat_tax_id, representing “VAT Tax ID” requirement.
rejection_reason: 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 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 rejection_reason(
&self,
) -> LocalServicesBusinessRegistrationCheckRejectionReason
pub fn rejection_reason( &self, ) -> LocalServicesBusinessRegistrationCheckRejectionReason
Returns the enum value of rejection_reason
, or the default if the field is 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<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 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
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