Struct lemmy_api_common::community::CommunityResponse
source · pub struct CommunityResponse {
pub community_view: CommunityView,
pub discussion_languages: Vec<LanguageId>,
}
Expand description
A simple community response.
Fields§
§community_view: CommunityView
§discussion_languages: Vec<LanguageId>
Trait Implementations§
source§impl Clone for CommunityResponse
impl Clone for CommunityResponse
source§fn clone(&self) -> CommunityResponse
fn clone(&self) -> CommunityResponse
Returns a copy 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 CommunityResponse
impl Debug for CommunityResponse
source§impl<'de> Deserialize<'de> for CommunityResponse
impl<'de> Deserialize<'de> for CommunityResponse
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 CommunityResponse
impl RefUnwindSafe for CommunityResponse
impl Send for CommunityResponse
impl Sync for CommunityResponse
impl Unpin for CommunityResponse
impl UnwindSafe for CommunityResponse
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