pub struct CreateCreativeInput {
pub name: String,
pub body: Option<String>,
pub image_url: Option<String>,
pub video_url: Option<String>,
pub link_url: Option<String>,
pub call_to_action: Option<String>,
pub extra: Option<Value>,
}Expand description
Input for creating a new creative.
Fields§
§name: StringCreative name.
body: Option<String>Ad body text.
image_url: Option<String>URL of the image asset.
video_url: Option<String>URL of the video asset.
link_url: Option<String>Destination link URL.
call_to_action: Option<String>Call-to-action label.
extra: Option<Value>Provider-specific extra fields.
Trait Implementations§
Source§impl Clone for CreateCreativeInput
impl Clone for CreateCreativeInput
Source§fn clone(&self) -> CreateCreativeInput
fn clone(&self) -> CreateCreativeInput
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 CreateCreativeInput
impl Debug for CreateCreativeInput
Source§impl Default for CreateCreativeInput
impl Default for CreateCreativeInput
Source§fn default() -> CreateCreativeInput
fn default() -> CreateCreativeInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCreativeInput
impl<'de> Deserialize<'de> for CreateCreativeInput
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 CreateCreativeInput
impl RefUnwindSafe for CreateCreativeInput
impl Send for CreateCreativeInput
impl Sync for CreateCreativeInput
impl Unpin for CreateCreativeInput
impl UnsafeUnpin for CreateCreativeInput
impl UnwindSafe for CreateCreativeInput
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