pub struct DataExtractionActionParameters {
pub contact_field_id: Option<String>,
pub description: Option<String>,
pub examples: Vec<String>,
pub overwrite_existing_value: Option<bool>,
}Available on crate feature
voice-ai only.Expand description
DataExtractionActionParameters from the GoHighLevel OpenAPI spec.
Fields§
§contact_field_id: Option<String>ID of the contact field to be updated with the extracted data Required by the API. (Optional here so responses that omit it still parse.)
description: Option<String>Description of what data to extract Required by the API. (Optional here so responses that omit it still parse.)
examples: Vec<String>Example values to help Agent understand the expected format. At least one example is required, maximum 5 examples allowed. Required by the API. (Optional here so responses that omit it still parse.)
overwrite_existing_value: Option<bool>Whether to overwrite existing field value if already set, default is false
Trait Implementations§
Source§impl Clone for DataExtractionActionParameters
impl Clone for DataExtractionActionParameters
Source§fn clone(&self) -> DataExtractionActionParameters
fn clone(&self) -> DataExtractionActionParameters
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 Default for DataExtractionActionParameters
impl Default for DataExtractionActionParameters
Source§fn default() -> DataExtractionActionParameters
fn default() -> DataExtractionActionParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataExtractionActionParameters
impl<'de> Deserialize<'de> for DataExtractionActionParameters
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 DataExtractionActionParameters
impl RefUnwindSafe for DataExtractionActionParameters
impl Send for DataExtractionActionParameters
impl Sync for DataExtractionActionParameters
impl Unpin for DataExtractionActionParameters
impl UnsafeUnpin for DataExtractionActionParameters
impl UnwindSafe for DataExtractionActionParameters
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