ActivityResponseObject

Struct ActivityResponseObject 

Source
pub struct ActivityResponseObject {
Show 61 fields pub due_date: Option<String>, pub due_time: Option<String>, pub duration: Option<String>, pub deal_id: Option<i32>, pub lead_id: Option<Option<Uuid>>, pub person_id: Option<i32>, pub project_id: Option<Option<i32>>, pub org_id: Option<i32>, pub location: Option<String>, pub public_description: Option<String>, pub id: Option<i32>, pub note: Option<String>, pub done: Option<bool>, pub subject: Option<String>, pub type: Option<String>, pub user_id: Option<i32>, pub participants: Option<Option<Vec<Value>>>, pub busy_flag: Option<bool>, pub attendees: Option<Option<Vec<Value>>>, pub company_id: Option<i32>, pub reference_type: Option<String>, pub reference_id: Option<i32>, pub conference_meeting_client: Option<String>, pub conference_meeting_url: Option<String>, pub conference_meeting_id: Option<String>, pub add_time: Option<String>, pub marked_as_done_time: Option<String>, pub last_notification_time: Option<String>, pub last_notification_user_id: Option<i32>, pub notification_language_id: Option<i32>, pub active_flag: Option<bool>, pub update_time: Option<String>, pub update_user_id: Option<i32>, pub gcal_event_id: Option<String>, pub google_calendar_id: Option<String>, pub google_calendar_etag: Option<String>, pub calendar_sync_include_context: Option<String>, pub source_timezone: Option<String>, pub rec_rule: Option<String>, pub rec_rule_extension: Option<String>, pub rec_master_activity_id: Option<i32>, pub series: Option<Vec<Value>>, pub created_by_user_id: Option<i32>, pub location_subpremise: Option<String>, pub location_street_number: Option<String>, pub location_route: Option<String>, pub location_sublocality: Option<String>, pub location_locality: Option<String>, pub location_admin_area_level_1: Option<String>, pub location_admin_area_level_2: Option<String>, pub location_country: Option<String>, pub location_postal_code: Option<String>, pub location_formatted_address: Option<String>, pub org_name: Option<String>, pub person_name: Option<String>, pub deal_title: Option<String>, pub owner_name: Option<String>, pub person_dropbox_bcc: Option<String>, pub deal_dropbox_bcc: Option<String>, pub assigned_to_user_id: Option<i32>, pub file: Option<Value>,
}

Fields§

§due_date: Option<String>

The due date of the activity. Format: YYYY-MM-DD

§due_time: Option<String>

The due time of the activity in UTC. Format: HH:MM

§duration: Option<String>

The duration of the activity. Format: HH:MM

§deal_id: Option<i32>

The ID of the deal this activity is associated with

§lead_id: Option<Option<Uuid>>

The ID of the lead in the UUID format this activity is associated with

§person_id: Option<i32>

The ID of the person this activity is associated with

§project_id: Option<Option<i32>>

The ID of the project this activity is associated with

§org_id: Option<i32>

The ID of the organization this activity is associated with

§location: Option<String>

The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.

§public_description: Option<String>

Additional details about the activity that is synced to your external calendar. Unlike the note added to the activity, the description is publicly visible to any guests added to the activity.

§id: Option<i32>

The ID of the activity, generated when the activity was created

§note: Option<String>

The note of the activity (HTML format)

§done: Option<bool>

Whether the activity is done or not

§subject: Option<String>

The subject of the activity

§type: Option<String>

The type of the activity. This is in correlation with the key_string parameter of ActivityTypes.

§user_id: Option<i32>

The ID of the user whom the activity is assigned to

§participants: Option<Option<Vec<Value>>>

List of multiple persons (participants) this activity is associated with

§busy_flag: Option<bool>

Marks if the activity is set as ‘Busy’ or ‘Free’. If the flag is set to true, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (null), the flag defaults to ‘Busy’ if it has a time set, and ‘Free’ if it is an all-day event without specified time.

§attendees: Option<Option<Vec<Value>>>

The attendees of the activity. This can be either your existing Pipedrive contacts or an external email address.

§company_id: Option<i32>

The user’s company ID

§reference_type: Option<String>

If the activity references some other object, it is indicated here. For example, value Salesphone refers to activities created with Caller.

§reference_id: Option<i32>

Together with the reference_type, gives the ID of the other object

§conference_meeting_client: Option<String>

The ID of the Marketplace app, which is connected to this activity

§conference_meeting_url: Option<String>

The link to join the meeting which is associated with this activity

§conference_meeting_id: Option<String>

The meeting ID of the meeting provider (Zoom, MS Teams etc.) that is associated with this activity

§add_time: Option<String>

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

§marked_as_done_time: Option<String>

The date and time this activity was marked as done. Format: YYYY-MM-DD HH:MM:SS.

§last_notification_time: Option<String>

The date and time of latest notifications sent about this activity to the participants or the attendees of this activity

§last_notification_user_id: Option<i32>

The ID of the user who triggered the sending of the latest notifications about this activity to the participants or the attendees of this activity

§notification_language_id: Option<i32>

The ID of the language the notifications are sent in

§active_flag: Option<bool>

Whether the activity is active or not

§update_time: Option<String>

The last update date and time of the activity. Format: YYYY-MM-DD HH:MM:SS.

§update_user_id: Option<i32>

The ID of the user who was the last to update this activity

§gcal_event_id: Option<String>

For the activity which syncs to Google calendar, this is the Google event ID. NB! This field is related to old Google calendar sync and will be deprecated soon.

§google_calendar_id: Option<String>

The Google calendar ID that this activity syncs to. NB! This field is related to old Google calendar sync and will be deprecated soon.

§google_calendar_etag: Option<String>

The Google calendar API etag (version) that is used for syncing this activity. NB! This field is related to old Google calendar sync and will be deprecated soon.

§calendar_sync_include_context: Option<String>

For activities that sync to an external calendar, this setting indicates if the activity syncs with context (what are the deals, persons, organizations this activity is related to)

§source_timezone: Option<String>

The timezone the activity was created in an external calendar

§rec_rule: Option<String>

The rule for the recurrence of the activity. Is important for activities synced into Pipedrive from an external calendar. Example: "RRULE:FREQ=WEEKLY;BYDAY=WE"

§rec_rule_extension: Option<String>

Additional rules for the recurrence of the activity, extend the rec_rule. Is important for activities synced into Pipedrive from an external calendar.

§rec_master_activity_id: Option<i32>

The ID of parent activity for a recurrent activity if the current activity is an exception to recurrence rules

§series: Option<Vec<Value>>

The list of recurring activity instances. It is in a structure as follows: [{due_date: \"2020-06-24\", due_time: \"10:00:00\"}]

§created_by_user_id: Option<i32>

The ID of the user who created the activity

§location_subpremise: Option<String>

A subfield of the location field. Indicates apartment/suite number.

§location_street_number: Option<String>

A subfield of the location field. Indicates house number.

§location_route: Option<String>

A subfield of the location field. Indicates street name.

§location_sublocality: Option<String>

A subfield of the location field. Indicates district/sublocality.

§location_locality: Option<String>

A subfield of the location field. Indicates city/town/village/locality.

§location_admin_area_level_1: Option<String>

A subfield of the location field. Indicates state/county.

§location_admin_area_level_2: Option<String>

A subfield of the location field. Indicates region.

§location_country: Option<String>

A subfield of the location field. Indicates country.

§location_postal_code: Option<String>

A subfield of the location field. Indicates ZIP/postal code.

§location_formatted_address: Option<String>

A subfield of the location field. Indicates full/combined address.

§org_name: Option<String>

The name of the organization this activity is associated with

§person_name: Option<String>

The name of the person this activity is associated with

§deal_title: Option<String>

The name of the deal this activity is associated with

§owner_name: Option<String>

The name of the user this activity is owned by

§person_dropbox_bcc: Option<String>

The BCC email address of the person

§deal_dropbox_bcc: Option<String>

The BCC email address of the deal

§assigned_to_user_id: Option<i32>

The ID of the user to whom the activity is assigned to. Equal to user_id.

§file: Option<Value>

The file that is attached to this activity. For example, this can be a reference to an audio note file generated with Pipedrive mobile app.

Implementations§

Trait Implementations§

Source§

impl Clone for ActivityResponseObject

Source§

fn clone(&self) -> ActivityResponseObject

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 ActivityResponseObject

Source§

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

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

impl<'de> Deserialize<'de> for ActivityResponseObject

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 ActivityResponseObject

Source§

fn eq(&self, other: &ActivityResponseObject) -> 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 ActivityResponseObject

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 ActivityResponseObject

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,