pub struct SingleSelectField {
pub id: String,
pub key: Option<String>,
pub field_value: Option<String>,
pub field_value_alt: Option<String>,
}Available on crate feature
contacts only.Expand description
SingleSelectField from the GoHighLevel OpenAPI spec.
Fields§
§id: StringPass either id or key of custom field
Required by the API.
key: Option<String>Pass either id or key of custom field
field_value: Option<String>Selected option value for the custom field (preferred).
field_value_alt: Option<String>Deprecated. Use fieldValue instead.
Trait Implementations§
Source§impl Clone for SingleSelectField
impl Clone for SingleSelectField
Source§fn clone(&self) -> SingleSelectField
fn clone(&self) -> SingleSelectField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SingleSelectField
impl Debug for SingleSelectField
Source§impl Default for SingleSelectField
impl Default for SingleSelectField
Source§fn default() -> SingleSelectField
fn default() -> SingleSelectField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SingleSelectField
impl<'de> Deserialize<'de> for SingleSelectField
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
Auto Trait Implementations§
impl Freeze for SingleSelectField
impl RefUnwindSafe for SingleSelectField
impl Send for SingleSelectField
impl Sync for SingleSelectField
impl Unpin for SingleSelectField
impl UnsafeUnpin for SingleSelectField
impl UnwindSafe for SingleSelectField
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