pub struct OptionDTO {
pub key: String,
pub label: String,
pub url: Option<String>,
}Available on crate feature
objects only.Expand description
OptionDTO from the GoHighLevel OpenAPI spec.
Fields§
§key: StringKey of the option (Included in Create and Response, excluded in Update) Required by the API.
label: StringValue of the option Required by the API.
url: Option<String>URL associated with the option (Optional, valid only for RADIO type)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OptionDTO
impl<'de> Deserialize<'de> for OptionDTO
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 OptionDTO
impl RefUnwindSafe for OptionDTO
impl Send for OptionDTO
impl Sync for OptionDTO
impl Unpin for OptionDTO
impl UnsafeUnpin for OptionDTO
impl UnwindSafe for OptionDTO
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