pub struct FieldsResponse200AllOfDataInner {Show 23 fields
pub id: Option<i32>,
pub key: Option<String>,
pub name: Option<String>,
pub order_nr: Option<i32>,
pub field_type: Option<FieldType>,
pub add_time: Option<String>,
pub update_time: Option<String>,
pub last_updated_by_user_id: Option<i32>,
pub active_flag: Option<bool>,
pub edit_flag: Option<bool>,
pub index_visible_flag: Option<bool>,
pub details_visible_flag: Option<bool>,
pub add_visible_flag: Option<bool>,
pub important_flag: Option<bool>,
pub bulk_edit_allowed: Option<bool>,
pub searchable_flag: Option<bool>,
pub filtering_allowed: Option<bool>,
pub sortable_flag: Option<bool>,
pub mandatory_flag: Option<bool>,
pub options: Option<Option<Vec<Value>>>,
pub options_deleted: Option<Vec<Value>>,
pub is_subfield: Option<bool>,
pub subfields: Option<Vec<Value>>,
}
Fields§
§id: Option<i32>
The ID of the field. Value is null
in case of subfields.
key: Option<String>
The key of the field. For custom fields this is generated upon creation.
name: Option<String>
The name of the field
order_nr: Option<i32>
The order number of the field
field_type: Option<FieldType>
The type of the field
Value | Description |
---|---|
address | Address field (has multiple subfields, autocompleted by Google Maps) |
date | Date (format YYYY-MM-DD) |
daterange | Date-range field (has a start date and end date value, both YYYY-MM-DD) |
double | Numeric value |
enum | Options field with a single possible chosen option |
monetary | Monetary field (has a numeric value and a currency value) |
org | Organization field (contains an organization ID which is stored on the same account) |
people | Person field (contains a person ID which is stored on the same account) |
phone | Phone field (up to 255 numbers and/or characters) |
set | Options field with a possibility of having multiple chosen options |
text | Long text (up to 65k characters) |
time | Time field (format HH:MM:SS) |
timerange | Time-range field (has a start time and end time value, both HH:MM:SS) |
user | User field (contains a user ID of another Pipedrive user) |
varchar | Text (up to 255 characters) |
varchar_auto | Autocomplete text (up to 255 characters) |
visible_to | System field that keeps item’s visibility setting |
add_time: Option<String>
The creation time of the field
update_time: Option<String>
The update time of the field
last_updated_by_user_id: Option<i32>
The ID of the user who created or most recently updated the field, only applicable for custom fields
active_flag: Option<bool>
The active flag of the field
edit_flag: Option<bool>
The edit flag of the field
index_visible_flag: Option<bool>
Not used
details_visible_flag: Option<bool>
Not used
add_visible_flag: Option<bool>
Not used
important_flag: Option<bool>
Not used
bulk_edit_allowed: Option<bool>
Whether or not the field of an item can be edited in bulk
searchable_flag: Option<bool>
Whether or not items can be searched by this field
filtering_allowed: Option<bool>
Whether or not items can be filtered by this field
sortable_flag: Option<bool>
Whether or not items can be sorted by this field
mandatory_flag: Option<bool>
Whether or not the field is mandatory
options: Option<Option<Vec<Value>>>
The options of the field. When there are no options, null
is returned.
options_deleted: Option<Vec<Value>>
The deleted options of the field. Only present when there is at least 1 deleted option.
is_subfield: Option<bool>
Whether or not the field is a subfield of another field. Only present if field is subfield.
subfields: Option<Vec<Value>>
The subfields of the field. Only present when the field has subfields.
Implementations§
Trait Implementations§
Source§impl Clone for FieldsResponse200AllOfDataInner
impl Clone for FieldsResponse200AllOfDataInner
Source§fn clone(&self) -> FieldsResponse200AllOfDataInner
fn clone(&self) -> FieldsResponse200AllOfDataInner
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de> Deserialize<'de> for FieldsResponse200AllOfDataInner
impl<'de> Deserialize<'de> for FieldsResponse200AllOfDataInner
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for FieldsResponse200AllOfDataInner
impl PartialEq for FieldsResponse200AllOfDataInner
Source§fn eq(&self, other: &FieldsResponse200AllOfDataInner) -> bool
fn eq(&self, other: &FieldsResponse200AllOfDataInner) -> bool
self
and other
values to be equal, and is used by ==
.