Struct rraw::subreddit::Subreddit [−][src]
pub struct Subreddit<'a> { pub name: String, // some fields omitted }
Expand description
Subreddit Object
Fields
name: String
Name
Implementations
Gets the about info the Subreddit
pub async fn get_contributors(
&self,
feed: Option<FeedOption>
) -> Result<Contributors, APIError>
pub async fn get_contributors(
&self,
feed: Option<FeedOption>
) -> Result<Contributors, APIError>
Gets the contributors for the Subreddit
Gets a List of Moderators for the subreddit
Adds a friend to the subreddit
pub async fn remove_friend(
&self,
username: String,
typ: FriendType
) -> Result<Friend, APIError>
pub async fn remove_friend(
&self,
username: String,
typ: FriendType
) -> Result<Friend, APIError>
removes a friend from the Subreddit
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Subreddit<'a>
impl<'a> !UnwindSafe for Subreddit<'a>