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<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 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
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