pub struct AccountInsightsOptions {
pub metrics: Option<Vec<AccountInsightMetric>>,
pub period: Option<InsightPeriod>,
pub since: Option<DateTime<Utc>>,
pub until: Option<DateTime<Utc>>,
pub breakdown: Option<FollowerDemographicsBreakdown>,
}Expand description
Options for account insights requests.
Fields§
§metrics: Option<Vec<AccountInsightMetric>>Metrics to retrieve.
period: Option<InsightPeriod>Time period granularity.
since: Option<DateTime<Utc>>Start of the time range.
until: Option<DateTime<Utc>>End of the time range.
breakdown: Option<FollowerDemographicsBreakdown>For follower_demographics: country, city, age, or gender.
Trait Implementations§
Source§impl Clone for AccountInsightsOptions
impl Clone for AccountInsightsOptions
Source§fn clone(&self) -> AccountInsightsOptions
fn clone(&self) -> AccountInsightsOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 AccountInsightsOptions
impl Debug for AccountInsightsOptions
Source§impl Default for AccountInsightsOptions
impl Default for AccountInsightsOptions
Source§fn default() -> AccountInsightsOptions
fn default() -> AccountInsightsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountInsightsOptions
impl<'de> Deserialize<'de> for AccountInsightsOptions
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 AccountInsightsOptions
impl RefUnwindSafe for AccountInsightsOptions
impl Send for AccountInsightsOptions
impl Sync for AccountInsightsOptions
impl Unpin for AccountInsightsOptions
impl UnsafeUnpin for AccountInsightsOptions
impl UnwindSafe for AccountInsightsOptions
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