Skip to main content

Module provider

Module provider 

Source
Expand description

Core provider trait for the mkt marketing CLI.

Every platform (Meta, Google, TikTok, LinkedIn) implements MarketingProvider. Methods return unified domain models from crate::models, not platform-specific structs.

This trait uses native async fn in traits (Rust 2024 edition RPITIT). Because RPITIT is not object-safe, the CLI uses enum dispatch (AnyProvider) instead of dyn MarketingProvider.

Structs§

ProviderCapabilities
Describes the capabilities a provider supports.

Traits§

MarketingProvider
The core abstraction. Every platform implements this trait.