pub struct CallView {
pub resource_name: String,
pub caller_country_code: String,
pub caller_area_code: String,
pub call_duration_seconds: i64,
pub start_call_date_time: String,
pub end_call_date_time: String,
pub call_tracking_display_location: i32,
pub type: i32,
pub call_status: i32,
}
Expand description
A call view that includes data for call tracking of call-only ads or call extensions.
Fields§
§resource_name: String
Output only. The resource name of the call view. Call view resource names have the form:
customers/{customer_id}/callViews/{call_detail_id}
caller_country_code: String
Output only. Country code of the caller.
caller_area_code: String
Output only. Area code of the caller. Null if the call duration is shorter than 15 seconds.
call_duration_seconds: i64
Output only. The advertiser-provided call duration in seconds.
start_call_date_time: String
Output only. The advertiser-provided call start date time.
end_call_date_time: String
Output only. The advertiser-provided call end date time.
call_tracking_display_location: i32
Output only. The call tracking display location.
type: i32
Output only. The type of the call.
call_status: i32
Output only. The status of the call.
Implementations§
Source§impl CallView
impl CallView
Sourcepub fn call_tracking_display_location(&self) -> CallTrackingDisplayLocation
pub fn call_tracking_display_location(&self) -> CallTrackingDisplayLocation
Returns the enum value of call_tracking_display_location
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_call_tracking_display_location(
&mut self,
value: CallTrackingDisplayLocation,
)
pub fn set_call_tracking_display_location( &mut self, value: CallTrackingDisplayLocation, )
Sets call_tracking_display_location
to the provided enum value.
Sourcepub fn type(&self) -> CallType
pub fn type(&self) -> CallType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
Sourcepub fn call_status(&self) -> GoogleVoiceCallStatus
pub fn call_status(&self) -> GoogleVoiceCallStatus
Returns the enum value of call_status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_call_status(&mut self, value: GoogleVoiceCallStatus)
pub fn set_call_status(&mut self, value: GoogleVoiceCallStatus)
Sets call_status
to the provided enum value.
Trait Implementations§
Source§impl Message for CallView
impl Message for CallView
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
.impl StructuralPartialEq for CallView
Auto Trait Implementations§
impl Freeze for CallView
impl RefUnwindSafe for CallView
impl Send for CallView
impl Sync for CallView
impl Unpin for CallView
impl UnwindSafe for CallView
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