Struct google_api_proto::google::ads::googleads::v15::resources::LicenseVerificationArtifact
source · pub struct LicenseVerificationArtifact {
pub license_type: Option<String>,
pub license_number: Option<String>,
pub licensee_first_name: Option<String>,
pub licensee_last_name: Option<String>,
pub rejection_reason: Option<i32>,
pub license_document_readonly: Option<LocalServicesDocumentReadOnly>,
}
Expand description
A proto holding information specific to a local services license.
Fields§
§license_type: Option<String>
Output only. License type / name.
license_number: Option<String>
Output only. License number.
licensee_first_name: Option<String>
Output only. First name of the licensee.
licensee_last_name: Option<String>
Output only. Last name of the licensee.
rejection_reason: Option<i32>
Output only. License rejection reason.
license_document_readonly: Option<LocalServicesDocumentReadOnly>
Output only. The readonly field containing the information for an uploaded license document.
Implementations§
source§impl LicenseVerificationArtifact
impl LicenseVerificationArtifact
sourcepub fn license_type(&self) -> &str
pub fn license_type(&self) -> &str
Returns the value of license_type
, or the default value if license_type
is unset.
sourcepub fn license_number(&self) -> &str
pub fn license_number(&self) -> &str
Returns the value of license_number
, or the default value if license_number
is unset.
sourcepub fn licensee_first_name(&self) -> &str
pub fn licensee_first_name(&self) -> &str
Returns the value of licensee_first_name
, or the default value if licensee_first_name
is unset.
sourcepub fn licensee_last_name(&self) -> &str
pub fn licensee_last_name(&self) -> &str
Returns the value of licensee_last_name
, or the default value if licensee_last_name
is unset.
sourcepub fn rejection_reason(&self) -> LocalServicesLicenseRejectionReason
pub fn rejection_reason(&self) -> LocalServicesLicenseRejectionReason
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: LocalServicesLicenseRejectionReason,
)
pub fn set_rejection_reason( &mut self, value: LocalServicesLicenseRejectionReason, )
Sets rejection_reason
to the provided enum value.
Trait Implementations§
source§impl Clone for LicenseVerificationArtifact
impl Clone for LicenseVerificationArtifact
source§fn clone(&self) -> LicenseVerificationArtifact
fn clone(&self) -> LicenseVerificationArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LicenseVerificationArtifact
impl Debug for LicenseVerificationArtifact
source§impl Message for LicenseVerificationArtifact
impl Message for LicenseVerificationArtifact
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 LicenseVerificationArtifact
impl PartialEq for LicenseVerificationArtifact
source§fn eq(&self, other: &LicenseVerificationArtifact) -> bool
fn eq(&self, other: &LicenseVerificationArtifact) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LicenseVerificationArtifact
Auto Trait Implementations§
impl Freeze for LicenseVerificationArtifact
impl RefUnwindSafe for LicenseVerificationArtifact
impl Send for LicenseVerificationArtifact
impl Sync for LicenseVerificationArtifact
impl Unpin for LicenseVerificationArtifact
impl UnwindSafe for LicenseVerificationArtifact
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