pub struct ChannelAdd {
pub account: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub platform: Option<String>,
}Fields§
§account: Option<String>Account is the provider account this channel runs under: an ad-account, a page, or a mailing-list id.
id: Option<String>ID is the campaign to add the channel to, from the path.
kind: Option<String>Kind is the channel kind and the identity a campaign holds at most one of: paid, organic or email.
platform: Option<String>Platform is the provider within the kind — meta, google, x, instagram, or the email provider.
Implementations§
Source§impl ChannelAdd
impl ChannelAdd
pub fn new() -> ChannelAdd
Trait Implementations§
Source§impl Clone for ChannelAdd
impl Clone for ChannelAdd
Source§fn clone(&self) -> ChannelAdd
fn clone(&self) -> ChannelAdd
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 ChannelAdd
impl Debug for ChannelAdd
Source§impl Default for ChannelAdd
impl Default for ChannelAdd
Source§fn default() -> ChannelAdd
fn default() -> ChannelAdd
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelAdd
impl<'de> Deserialize<'de> for ChannelAdd
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
Source§impl PartialEq for ChannelAdd
impl PartialEq for ChannelAdd
Source§impl Serialize for ChannelAdd
impl Serialize for ChannelAdd
impl StructuralPartialEq for ChannelAdd
Auto Trait Implementations§
impl Freeze for ChannelAdd
impl RefUnwindSafe for ChannelAdd
impl Send for ChannelAdd
impl Sync for ChannelAdd
impl Unpin for ChannelAdd
impl UnsafeUnpin for ChannelAdd
impl UnwindSafe for ChannelAdd
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