Struct google_api_proto::google::ads::googleads::v16::resources::LocalServicesVerificationArtifact
source · pub struct LocalServicesVerificationArtifact {
pub resource_name: String,
pub id: Option<i64>,
pub creation_date_time: String,
pub status: i32,
pub artifact_type: i32,
pub artifact_data: Option<ArtifactData>,
}
Expand description
A local services verification resource.
Fields§
§resource_name: String
Immutable. The resource name of the Local Services Verification. Local Services Verification resource names have the form:
customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}
id: Option<i64>
Output only. The ID of the verification artifact.
creation_date_time: String
Output only. The timestamp when this verification artifact was created. The format is “YYYY-MM-DD HH:MM:SS” in the Google Ads account’s timezone. Examples: “2018-03-05 09:15:00” or “2018-02-01 14:34:30”
status: i32
Output only. The status of the verification artifact.
artifact_type: i32
Output only. The type of the verification artifact.
artifact_data: Option<ArtifactData>
The types of verification info.
Implementations§
source§impl LocalServicesVerificationArtifact
impl LocalServicesVerificationArtifact
sourcepub fn status(&self) -> LocalServicesVerificationArtifactStatus
pub fn status(&self) -> LocalServicesVerificationArtifactStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_status(&mut self, value: LocalServicesVerificationArtifactStatus)
pub fn set_status(&mut self, value: LocalServicesVerificationArtifactStatus)
Sets status
to the provided enum value.
sourcepub fn artifact_type(&self) -> LocalServicesVerificationArtifactType
pub fn artifact_type(&self) -> LocalServicesVerificationArtifactType
Returns the enum value of artifact_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_artifact_type(
&mut self,
value: LocalServicesVerificationArtifactType,
)
pub fn set_artifact_type( &mut self, value: LocalServicesVerificationArtifactType, )
Sets artifact_type
to the provided enum value.
Trait Implementations§
source§impl Clone for LocalServicesVerificationArtifact
impl Clone for LocalServicesVerificationArtifact
source§fn clone(&self) -> LocalServicesVerificationArtifact
fn clone(&self) -> LocalServicesVerificationArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for LocalServicesVerificationArtifact
impl Message for LocalServicesVerificationArtifact
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 LocalServicesVerificationArtifact
impl PartialEq for LocalServicesVerificationArtifact
source§fn eq(&self, other: &LocalServicesVerificationArtifact) -> bool
fn eq(&self, other: &LocalServicesVerificationArtifact) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocalServicesVerificationArtifact
Auto Trait Implementations§
impl Freeze for LocalServicesVerificationArtifact
impl RefUnwindSafe for LocalServicesVerificationArtifact
impl Send for LocalServicesVerificationArtifact
impl Sync for LocalServicesVerificationArtifact
impl Unpin for LocalServicesVerificationArtifact
impl UnwindSafe for LocalServicesVerificationArtifact
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