pub struct DealStrict {Show 57 fields
pub id: Option<i32>,
pub creator_user_id: Option<i32>,
pub user_id: Option<i32>,
pub person_id: Option<i32>,
pub org_id: Option<i32>,
pub stage_id: Option<i32>,
pub title: Option<String>,
pub value: Option<f32>,
pub currency: Option<String>,
pub add_time: Option<String>,
pub update_time: Option<String>,
pub stage_change_time: Option<String>,
pub active: Option<bool>,
pub deleted: Option<bool>,
pub status: Option<String>,
pub probability: Option<Option<f32>>,
pub next_activity_date: Option<String>,
pub next_activity_time: Option<String>,
pub next_activity_id: Option<Option<i32>>,
pub last_activity_id: Option<Option<i32>>,
pub last_activity_date: Option<Option<String>>,
pub lost_reason: Option<Option<String>>,
pub visible_to: Option<String>,
pub close_time: Option<Option<String>>,
pub pipeline_id: Option<i32>,
pub won_time: Option<String>,
pub first_won_time: Option<String>,
pub lost_time: Option<String>,
pub products_count: Option<i32>,
pub files_count: Option<i32>,
pub notes_count: Option<i32>,
pub followers_count: Option<i32>,
pub email_messages_count: Option<i32>,
pub activities_count: Option<i32>,
pub done_activities_count: Option<i32>,
pub undone_activities_count: Option<i32>,
pub participants_count: Option<i32>,
pub expected_close_date: Option<String>,
pub last_incoming_mail_time: Option<String>,
pub last_outgoing_mail_time: Option<String>,
pub label: Option<String>,
pub stage_order_nr: Option<i32>,
pub person_name: Option<String>,
pub org_name: Option<String>,
pub next_activity_subject: Option<String>,
pub next_activity_type: Option<String>,
pub next_activity_duration: Option<String>,
pub next_activity_note: Option<String>,
pub formatted_value: Option<String>,
pub weighted_value: Option<f32>,
pub formatted_weighted_value: Option<String>,
pub weighted_value_currency: Option<String>,
pub rotten_time: Option<Option<String>>,
pub owner_name: Option<String>,
pub cc_email: Option<String>,
pub org_hidden: Option<bool>,
pub person_hidden: Option<bool>,
}Fields§
§id: Option<i32>The ID of the deal
creator_user_id: Option<i32>The ID of the deal creator
user_id: Option<i32>The ID of the user
person_id: Option<i32>The ID of the person associated with the deal
org_id: Option<i32>The ID of the organization associated with the deal
stage_id: Option<i32>The ID of the deal stage
title: Option<String>The title of the deal
value: Option<f32>The value of the deal
currency: Option<String>The currency associated with the deal
add_time: Option<String>The creation date and time of the deal
update_time: Option<String>The last updated date and time of the deal
stage_change_time: Option<String>The last updated date and time of the deal stage
active: Option<bool>Whether the deal is active or not
deleted: Option<bool>Whether the deal is deleted or not
status: Option<String>The status of the deal
probability: Option<Option<f32>>The success probability percentage of the deal
next_activity_date: Option<String>The date of the next activity associated with the deal
next_activity_time: Option<String>The time of the next activity associated with the deal
next_activity_id: Option<Option<i32>>The ID of the next activity associated with the deal
last_activity_id: Option<Option<i32>>The ID of the last activity associated with the deal
last_activity_date: Option<Option<String>>The date of the last activity associated with the deal
lost_reason: Option<Option<String>>The reason for losing the deal
visible_to: Option<String>The visibility of the deal
close_time: Option<Option<String>>The date and time of closing the deal
pipeline_id: Option<i32>The ID of the pipeline associated with the deal
won_time: Option<String>The date and time of changing the deal status as won
first_won_time: Option<String>The date and time of the first time changing the deal status as won
lost_time: Option<String>The date and time of changing the deal status as lost
products_count: Option<i32>The number of products associated with the deal
files_count: Option<i32>The number of files associated with the deal
notes_count: Option<i32>The number of notes associated with the deal
followers_count: Option<i32>The number of followers associated with the deal
email_messages_count: Option<i32>The number of emails associated with the deal
activities_count: Option<i32>The number of activities associated with the deal
done_activities_count: Option<i32>The number of completed activities associated with the deal
undone_activities_count: Option<i32>The number of incomplete activities associated with the deal
participants_count: Option<i32>The number of participants associated with the deal
expected_close_date: Option<String>The expected close date of the deal
last_incoming_mail_time: Option<String>The date and time of the last incoming email associated with the deal
last_outgoing_mail_time: Option<String>The date and time of the last outgoing email associated with the deal
label: Option<String>The label or multiple labels assigned to the deal
stage_order_nr: Option<i32>The order number of the deal stage associated with the deal
person_name: Option<String>The name of the person associated with the deal
org_name: Option<String>The name of the organization associated with the deal
next_activity_subject: Option<String>The subject of the next activity associated with the deal
next_activity_type: Option<String>The type of the next activity associated with the deal
next_activity_duration: Option<String>The duration of the next activity associated with the deal
next_activity_note: Option<String>The note of the next activity associated with the deal
formatted_value: Option<String>The deal value formatted with selected currency. E.g. US$500
weighted_value: Option<f32>Probability times deal value. Probability can either be deal probability or if not set, then stage probability.
formatted_weighted_value: Option<String>The weighted_value formatted with selected currency. E.g. US$500
weighted_value_currency: Option<String>The currency associated with the deal
rotten_time: Option<Option<String>>The date and time of changing the deal status as rotten
owner_name: Option<String>The name of the deal owner
cc_email: Option<String>The BCC email of the deal
If the organization that is associated with the deal is hidden or not
If the person that is associated with the deal is hidden or not
Implementations§
Source§impl DealStrict
impl DealStrict
pub fn new() -> DealStrict
Trait Implementations§
Source§impl Clone for DealStrict
impl Clone for DealStrict
Source§fn clone(&self) -> DealStrict
fn clone(&self) -> DealStrict
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more