pub struct UpdateCampaignInput {
pub name: Option<String>,
pub status: Option<CampaignStatus>,
pub budget: Option<Budget>,
pub extra: Option<Value>,
}Expand description
Input for updating an existing campaign.
Fields§
§name: Option<String>New name, if changing.
status: Option<CampaignStatus>New status, if changing.
budget: Option<Budget>New budget, if changing.
extra: Option<Value>Provider-specific extra fields.
Trait Implementations§
Source§impl Clone for UpdateCampaignInput
impl Clone for UpdateCampaignInput
Source§fn clone(&self) -> UpdateCampaignInput
fn clone(&self) -> UpdateCampaignInput
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 UpdateCampaignInput
impl Debug for UpdateCampaignInput
Source§impl Default for UpdateCampaignInput
impl Default for UpdateCampaignInput
Source§fn default() -> UpdateCampaignInput
fn default() -> UpdateCampaignInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCampaignInput
impl<'de> Deserialize<'de> for UpdateCampaignInput
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 UpdateCampaignInput
impl RefUnwindSafe for UpdateCampaignInput
impl Send for UpdateCampaignInput
impl Sync for UpdateCampaignInput
impl Unpin for UpdateCampaignInput
impl UnsafeUnpin for UpdateCampaignInput
impl UnwindSafe for UpdateCampaignInput
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