pub struct NumericField {
pub id: String,
pub key: Option<String>,
pub field_value: Option<Value>,
pub field_value_alt: Option<Value>,
}Available on crate feature
contacts only.Expand description
NumericField 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<Value>Numeric value for the custom field (preferred).
field_value_alt: Option<Value>Deprecated. Use fieldValue instead.
Trait Implementations§
Source§impl Clone for NumericField
impl Clone for NumericField
Source§fn clone(&self) -> NumericField
fn clone(&self) -> NumericField
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 NumericField
impl Debug for NumericField
Source§impl Default for NumericField
impl Default for NumericField
Source§fn default() -> NumericField
fn default() -> NumericField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NumericField
impl<'de> Deserialize<'de> for NumericField
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 NumericField
impl RefUnwindSafe for NumericField
impl Send for NumericField
impl Sync for NumericField
impl Unpin for NumericField
impl UnsafeUnpin for NumericField
impl UnwindSafe for NumericField
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