pub struct BlockCommunity {
pub community_id: CommunityId,
pub block: bool,
}
Expand description
Block a community.
Fields§
§community_id: CommunityId
§block: bool
Trait Implementations§
Source§impl Clone for BlockCommunity
impl Clone for BlockCommunity
Source§fn clone(&self) -> BlockCommunity
fn clone(&self) -> BlockCommunity
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 BlockCommunity
impl Debug for BlockCommunity
Source§impl Default for BlockCommunity
impl Default for BlockCommunity
Source§fn default() -> BlockCommunity
fn default() -> BlockCommunity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockCommunity
impl<'de> Deserialize<'de> for BlockCommunity
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
Source§impl Hash for BlockCommunity
impl Hash for BlockCommunity
Source§impl PartialEq for BlockCommunity
impl PartialEq for BlockCommunity
Source§impl Serialize for BlockCommunity
impl Serialize for BlockCommunity
impl Eq for BlockCommunity
impl StructuralPartialEq for BlockCommunity
Auto Trait Implementations§
impl Freeze for BlockCommunity
impl RefUnwindSafe for BlockCommunity
impl Send for BlockCommunity
impl Sync for BlockCommunity
impl Unpin for BlockCommunity
impl UnwindSafe for BlockCommunity
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