pub struct AssetSubreddit {
pub url: Option<String>,
pub name: Option<String>,
pub current_active_users: Option<i32>,
pub average_posts_per_day: Option<f32>,
pub average_posts_per_hour: Option<f32>,
pub average_comments_per_day: Option<f32>,
pub average_comments_per_hour: Option<f32>,
pub subscribers: Option<i32>,
}Fields§
§url: Option<String>The URL of the Subreddit used to retrieve social metrics.
name: Option<String>The name of the subreddit.
current_active_users: Option<i32>The number of currently active users in the subreddit.
average_posts_per_day: Option<f32>The average number of posts per day in the subreddit.
average_posts_per_hour: Option<f32>The average number of posts per hour in the subreddit.
average_comments_per_day: Option<f32>The average number of comments per day in the subreddit.
average_comments_per_hour: Option<f32>The average number of comments per hour in the subreddit.
subscribers: Option<i32>The number of subscribers to the subreddit.
Trait Implementations§
Source§impl Clone for AssetSubreddit
impl Clone for AssetSubreddit
Source§fn clone(&self) -> AssetSubreddit
fn clone(&self) -> AssetSubreddit
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 AssetSubreddit
impl Debug for AssetSubreddit
Source§impl<'de> Deserialize<'de> for AssetSubreddit
impl<'de> Deserialize<'de> for AssetSubreddit
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 AssetSubreddit
impl RefUnwindSafe for AssetSubreddit
impl Send for AssetSubreddit
impl Sync for AssetSubreddit
impl Unpin for AssetSubreddit
impl UnsafeUnpin for AssetSubreddit
impl UnwindSafe for AssetSubreddit
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