pub struct PlatformAnalytics {
pub platform: Option<String>,
pub status: Option<Status>,
pub platform_post_id: Option<String>,
pub account_id: Option<String>,
pub account_username: Option<String>,
pub analytics: Option<Box<PostAnalytics>>,
pub sync_status: Option<SyncStatus>,
pub platform_post_url: Option<String>,
pub error_message: Option<String>,
}Fields§
§platform: Option<String>§status: Option<Status>§platform_post_id: Option<String>The native post ID on the platform (e.g. Instagram media ID, tweet ID)
account_id: Option<String>§account_username: Option<String>§analytics: Option<Box<PostAnalytics>>§sync_status: Option<SyncStatus>Sync state of analytics for this platform
platform_post_url: Option<String>§error_message: Option<String>Error details when status is failed
Implementations§
Source§impl PlatformAnalytics
impl PlatformAnalytics
pub fn new() -> PlatformAnalytics
Trait Implementations§
Source§impl Clone for PlatformAnalytics
impl Clone for PlatformAnalytics
Source§fn clone(&self) -> PlatformAnalytics
fn clone(&self) -> PlatformAnalytics
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 PlatformAnalytics
impl Debug for PlatformAnalytics
Source§impl Default for PlatformAnalytics
impl Default for PlatformAnalytics
Source§fn default() -> PlatformAnalytics
fn default() -> PlatformAnalytics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformAnalytics
impl<'de> Deserialize<'de> for PlatformAnalytics
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 PlatformAnalytics
impl PartialEq for PlatformAnalytics
Source§fn eq(&self, other: &PlatformAnalytics) -> bool
fn eq(&self, other: &PlatformAnalytics) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlatformAnalytics
impl Serialize for PlatformAnalytics
impl StructuralPartialEq for PlatformAnalytics
Auto Trait Implementations§
impl Freeze for PlatformAnalytics
impl RefUnwindSafe for PlatformAnalytics
impl Send for PlatformAnalytics
impl Sync for PlatformAnalytics
impl Unpin for PlatformAnalytics
impl UnsafeUnpin for PlatformAnalytics
impl UnwindSafe for PlatformAnalytics
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