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(&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 CallView
impl PartialEq for CallView
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
§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