pub struct CallAssetPayloadDTO {
pub phone_number: String,
pub country_code: String,
pub call_conversion_action: Option<String>,
pub ad_schedule_targets: Vec<AdScheduleTargetDTO>,
pub resource_name: Option<String>,
}Available on crate feature
ad-manager only.Expand description
CallAssetPayloadDTO from the GoHighLevel OpenAPI spec.
Fields§
§phone_number: StringPhone number for call ads Required by the API.
country_code: StringTwo-letter ISO country code Required by the API.
call_conversion_action: Option<String>Call conversion action resource name
ad_schedule_targets: Vec<AdScheduleTargetDTO>Ad schedule targets restricting when the call asset is shown
resource_name: Option<String>Google Ads resource name for an existing call asset
Trait Implementations§
Source§impl Clone for CallAssetPayloadDTO
impl Clone for CallAssetPayloadDTO
Source§fn clone(&self) -> CallAssetPayloadDTO
fn clone(&self) -> CallAssetPayloadDTO
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 CallAssetPayloadDTO
impl Debug for CallAssetPayloadDTO
Source§impl Default for CallAssetPayloadDTO
impl Default for CallAssetPayloadDTO
Source§fn default() -> CallAssetPayloadDTO
fn default() -> CallAssetPayloadDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallAssetPayloadDTO
impl<'de> Deserialize<'de> for CallAssetPayloadDTO
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 CallAssetPayloadDTO
impl RefUnwindSafe for CallAssetPayloadDTO
impl Send for CallAssetPayloadDTO
impl Sync for CallAssetPayloadDTO
impl Unpin for CallAssetPayloadDTO
impl UnsafeUnpin for CallAssetPayloadDTO
impl UnwindSafe for CallAssetPayloadDTO
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