Enum google_api_proto::google::ads::googleads::v16::resources::business_registration_check_verification_artifact::BusinessRegistration
source · pub enum BusinessRegistration {
RegistrationNumber(BusinessRegistrationNumber),
RegistrationDocument(BusinessRegistrationDocument),
}
Expand description
Registration information for the business registration. It will be one of the following forms based on the requirement from different countries.
Variants§
RegistrationNumber(BusinessRegistrationNumber)
Output only. Message storing government issued number for the business.
RegistrationDocument(BusinessRegistrationDocument)
Output only. Message storing document info for the business.
Implementations§
source§impl BusinessRegistration
impl BusinessRegistration
sourcepub fn merge<B>(
field: &mut Option<BusinessRegistration>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<BusinessRegistration>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for BusinessRegistration
impl Clone for BusinessRegistration
source§fn clone(&self) -> BusinessRegistration
fn clone(&self) -> BusinessRegistration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BusinessRegistration
impl Debug for BusinessRegistration
source§impl PartialEq for BusinessRegistration
impl PartialEq for BusinessRegistration
source§fn eq(&self, other: &BusinessRegistration) -> bool
fn eq(&self, other: &BusinessRegistration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BusinessRegistration
Auto Trait Implementations§
impl Freeze for BusinessRegistration
impl RefUnwindSafe for BusinessRegistration
impl Send for BusinessRegistration
impl Sync for BusinessRegistration
impl Unpin for BusinessRegistration
impl UnwindSafe for BusinessRegistration
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request