Struct meztide::api_models::CommunityInfo
source · pub struct CommunityInfo {
pub base: MinimalCommunityInfo,
pub description: Content,
pub feeds: CommunityFeeds,
pub you_are_moderator: Option<bool>,
pub your_follow: Option<YourFollowInfo>,
pub pending_moderation_actions: Option<u32>,
}
Expand description
Full community info
Fields§
§base: MinimalCommunityInfo
§description: Content
§feeds: CommunityFeeds
§you_are_moderator: Option<bool>
§your_follow: Option<YourFollowInfo>
§pending_moderation_actions: Option<u32>
Number of pending flags sent to this community. Present with include_your=true if you are a moderator
Trait Implementations§
source§impl Debug for CommunityInfo
impl Debug for CommunityInfo
source§impl<'de> Deserialize<'de> for CommunityInfo
impl<'de> Deserialize<'de> for CommunityInfo
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 RefUnwindSafe for CommunityInfo
impl Send for CommunityInfo
impl Sync for CommunityInfo
impl Unpin for CommunityInfo
impl UnwindSafe for CommunityInfo
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