Struct ResponseCallLogObject

Source
pub struct ResponseCallLogObject {
Show 16 fields pub user_id: Option<i32>, pub activity_id: Option<i32>, pub subject: Option<String>, pub duration: Option<String>, pub outcome: Outcome, pub from_phone_number: Option<String>, pub to_phone_number: String, pub start_time: String, pub end_time: String, pub person_id: Option<i32>, pub org_id: Option<i32>, pub deal_id: Option<i32>, pub note: Option<String>, pub id: Option<String>, pub has_recording: Option<bool>, pub company_id: Option<i32>,
}

Fields§

§user_id: Option<i32>

The ID of the owner of the call log. Please note that a user without account settings access cannot create call logs for other users.

§activity_id: Option<i32>

If specified, this activity will be converted into a call log, with the information provided. When this field is used, you don’t need to specify deal_id, person_id or org_id, as they will be ignored in favor of the values already available in the activity. The activity_id must refer to a call type activity.

§subject: Option<String>

The name of the activity this call is attached to

§duration: Option<String>

The duration of the call in seconds

§outcome: Outcome

Describes the outcome of the call

§from_phone_number: Option<String>

The number that made the call

§to_phone_number: String

The number called

§start_time: String

The date and time of the start of the call in UTC. Format: YYYY-MM-DD HH:MM:SS.

§end_time: String

The date and time of the end of the call in UTC. Format: YYYY-MM-DD HH:MM:SS.

§person_id: Option<i32>

The ID of the person this call is associated with

§org_id: Option<i32>

The ID of the organization this call is associated with

§deal_id: Option<i32>

The ID of the deal this call is associated with

§note: Option<String>

The note for the call log in HTML format

§id: Option<String>

The call log ID, generated when the call log was created

§has_recording: Option<bool>

If the call log has an audio recording attached, the value should be true

§company_id: Option<i32>

The company ID of the owner of the call log

Implementations§

Source§

impl ResponseCallLogObject

Source

pub fn new( outcome: Outcome, to_phone_number: String, start_time: String, end_time: String, ) -> ResponseCallLogObject

Trait Implementations§

Source§

impl Clone for ResponseCallLogObject

Source§

fn clone(&self) -> ResponseCallLogObject

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResponseCallLogObject

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ResponseCallLogObject

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for ResponseCallLogObject

Source§

fn eq(&self, other: &ResponseCallLogObject) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ResponseCallLogObject

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ResponseCallLogObject

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,