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