pub struct GetNoteFieldsResponse200AllOfDataInner {
pub id: Option<i32>,
pub key: Option<String>,
pub name: Option<String>,
pub field_type: Option<FieldType>,
pub active_flag: Option<bool>,
pub edit_flag: Option<bool>,
pub bulk_edit_allowed: Option<bool>,
pub mandatory_flag: Option<bool>,
pub options: Option<Vec<GetNoteFieldsResponse200AllOfDataInnerOptionsInner>>,
}
Fields§
§id: Option<i32>
The ID of the field
key: Option<String>
The key of the field
name: Option<String>
The name 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 |
active_flag: Option<bool>
The active flag of the field
edit_flag: Option<bool>
The edit flag of the field
bulk_edit_allowed: Option<bool>
Not used
mandatory_flag: Option<bool>
Whether or not the field is mandatory
options: Option<Vec<GetNoteFieldsResponse200AllOfDataInnerOptionsInner>>
The options of the field. When there are no options, null
is returned.
Implementations§
Trait Implementations§
Source§impl Clone for GetNoteFieldsResponse200AllOfDataInner
impl Clone for GetNoteFieldsResponse200AllOfDataInner
Source§fn clone(&self) -> GetNoteFieldsResponse200AllOfDataInner
fn clone(&self) -> GetNoteFieldsResponse200AllOfDataInner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for GetNoteFieldsResponse200AllOfDataInner
impl<'de> Deserialize<'de> for GetNoteFieldsResponse200AllOfDataInner
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetNoteFieldsResponse200AllOfDataInner
impl PartialEq for GetNoteFieldsResponse200AllOfDataInner
Source§fn eq(&self, other: &GetNoteFieldsResponse200AllOfDataInner) -> bool
fn eq(&self, other: &GetNoteFieldsResponse200AllOfDataInner) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetNoteFieldsResponse200AllOfDataInner
Auto Trait Implementations§
impl Freeze for GetNoteFieldsResponse200AllOfDataInner
impl RefUnwindSafe for GetNoteFieldsResponse200AllOfDataInner
impl Send for GetNoteFieldsResponse200AllOfDataInner
impl Sync for GetNoteFieldsResponse200AllOfDataInner
impl Unpin for GetNoteFieldsResponse200AllOfDataInner
impl UnwindSafe for GetNoteFieldsResponse200AllOfDataInner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more