pub struct UpdateLeadRequest {
pub title: Option<Option<String>>,
pub owner_id: Option<i32>,
pub label_ids: Option<Vec<Uuid>>,
pub person_id: Option<Option<i32>>,
pub organization_id: Option<Option<i32>>,
pub is_archived: Option<bool>,
pub value: Option<Option<Box<UpdateLeadRequestValue>>>,
pub expected_close_date: Option<Option<String>>,
pub visible_to: Option<VisibleTo>,
pub was_seen: Option<bool>,
}Fields§
§title: Option<Option<String>>The name of the lead
owner_id: Option<i32>The ID of the user which will be the owner of the created lead. If not provided, the user making the request will be used.
label_ids: Option<Vec<Uuid>>The IDs of the lead labels which will be associated with the lead
person_id: Option<Option<i32>>The ID of a person which this lead will be linked to. If the person does not exist yet, it needs to be created first. A lead always has to be linked to a person or organization or both.
organization_id: Option<Option<i32>>The ID of an organization which this lead will be linked to. If the organization does not exist yet, it needs to be created first. A lead always has to be linked to a person or organization or both.
is_archived: Option<bool>A flag indicating whether the lead is archived or not
value: Option<Option<Box<UpdateLeadRequestValue>>>§expected_close_date: Option<Option<String>>The date of when the deal which will be created from the lead is expected to be closed. In ISO 8601 format: YYYY-MM-DD.
visible_to: Option<VisibleTo>§was_seen: Option<bool>A flag indicating whether the lead was seen by someone in the Pipedrive UI
Implementations§
Source§impl UpdateLeadRequest
impl UpdateLeadRequest
pub fn new() -> UpdateLeadRequest
Trait Implementations§
Source§impl Clone for UpdateLeadRequest
impl Clone for UpdateLeadRequest
Source§fn clone(&self) -> UpdateLeadRequest
fn clone(&self) -> UpdateLeadRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more