Struct google_api_proto::google::ads::googleads::v17::resources::LocalServicesLeadConversation
source · pub struct LocalServicesLeadConversation {
pub resource_name: String,
pub id: i64,
pub conversation_channel: i32,
pub participant_type: i32,
pub lead: String,
pub event_date_time: String,
pub phone_call_details: Option<PhoneCallDetails>,
pub message_details: Option<MessageDetails>,
}
Expand description
Data from Local Services Lead Conversation. Contains details of Lead Conversation which is generated when user calls, messages or books service from advertiser. These are appended to a Lead. More info: https://ads.google.com/local-services-ads
Fields§
§resource_name: String
Output only. The resource name of the local services lead conversation data. Local Services Lead Conversation resource name have the form
customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}
id: i64
Output only. ID of this Lead Conversation.
conversation_channel: i32
Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, SMS, etc.
participant_type: i32
Output only. Type of participant in the lead conversation, ADVERTISER or CONSUMER.
lead: String
Output only. Resource name of Lead associated to the Lead Conversation.
event_date_time: String
Output only. The date time at which lead conversation was created by Local Services Ads. 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”
phone_call_details: Option<PhoneCallDetails>
Output only. Details of phone call conversation in case of PHONE_CALL.
message_details: Option<MessageDetails>
Output only. Details of message conversation in case of EMAIL, MESSAGE or SMS.
Implementations§
source§impl LocalServicesLeadConversation
impl LocalServicesLeadConversation
sourcepub fn conversation_channel(&self) -> ConversationType
pub fn conversation_channel(&self) -> ConversationType
Returns the enum value of conversation_channel
, or the default if the field is set to an invalid enum value.
sourcepub fn set_conversation_channel(&mut self, value: ConversationType)
pub fn set_conversation_channel(&mut self, value: ConversationType)
Sets conversation_channel
to the provided enum value.
sourcepub fn participant_type(&self) -> ParticipantType
pub fn participant_type(&self) -> ParticipantType
Returns the enum value of participant_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_participant_type(&mut self, value: ParticipantType)
pub fn set_participant_type(&mut self, value: ParticipantType)
Sets participant_type
to the provided enum value.
Trait Implementations§
source§impl Clone for LocalServicesLeadConversation
impl Clone for LocalServicesLeadConversation
source§fn clone(&self) -> LocalServicesLeadConversation
fn clone(&self) -> LocalServicesLeadConversation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for LocalServicesLeadConversation
impl Message for LocalServicesLeadConversation
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 LocalServicesLeadConversation
impl PartialEq for LocalServicesLeadConversation
source§fn eq(&self, other: &LocalServicesLeadConversation) -> bool
fn eq(&self, other: &LocalServicesLeadConversation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocalServicesLeadConversation
Auto Trait Implementations§
impl Freeze for LocalServicesLeadConversation
impl RefUnwindSafe for LocalServicesLeadConversation
impl Send for LocalServicesLeadConversation
impl Sync for LocalServicesLeadConversation
impl Unpin for LocalServicesLeadConversation
impl UnwindSafe for LocalServicesLeadConversation
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