Struct lemmy_api_common::community::FollowCommunity
source · pub struct FollowCommunity {
pub community_id: CommunityId,
pub follow: bool,
}Expand description
Follow / subscribe to a community.
Fields§
§community_id: CommunityId§follow: boolTrait Implementations§
source§impl Clone for FollowCommunity
impl Clone for FollowCommunity
source§fn clone(&self) -> FollowCommunity
fn clone(&self) -> FollowCommunity
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 FollowCommunity
impl Debug for FollowCommunity
source§impl Default for FollowCommunity
impl Default for FollowCommunity
source§fn default() -> FollowCommunity
fn default() -> FollowCommunity
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FollowCommunity
impl<'de> Deserialize<'de> for FollowCommunity
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 FollowCommunity
impl Send for FollowCommunity
impl Sync for FollowCommunity
impl Unpin for FollowCommunity
impl UnwindSafe for FollowCommunity
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