pub struct ProviderCapabilities {
pub campaigns: bool,
pub adsets: bool,
pub ads: bool,
pub creatives: bool,
pub audiences: bool,
pub insights: bool,
pub organic_posts: bool,
pub dark_posts: bool,
pub video_upload: bool,
pub image_upload: bool,
pub workflow_templates: bool,
}Expand description
Describes the capabilities a provider supports.
Used by the CLI to show/hide commands dynamically and to provide helpful error messages when a user tries an unsupported feature.
Fields§
§campaigns: boolSupports campaign CRUD.
adsets: boolSupports ad set / ad group management.
ads: boolSupports individual ad management.
creatives: boolSupports creative asset management.
audiences: boolSupports audience management.
insights: boolSupports insights / analytics queries.
organic_posts: boolSupports organic post publishing.
dark_posts: boolSupports dark (unpublished) posts.
video_upload: boolSupports video upload.
image_upload: boolSupports image upload.
workflow_templates: boolSupports workflow templates.
Trait Implementations§
Source§impl Clone for ProviderCapabilities
impl Clone for ProviderCapabilities
Source§fn clone(&self) -> ProviderCapabilities
fn clone(&self) -> ProviderCapabilities
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 moreAuto Trait Implementations§
impl Freeze for ProviderCapabilities
impl RefUnwindSafe for ProviderCapabilities
impl Send for ProviderCapabilities
impl Sync for ProviderCapabilities
impl Unpin for ProviderCapabilities
impl UnsafeUnpin for ProviderCapabilities
impl UnwindSafe for ProviderCapabilities
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