pub struct BanFromCommunityResponse {
pub person_view: PersonView,
pub banned: bool,
}Expand description
The response for banning a user from a community.
Fields§
§person_view: PersonView§banned: boolTrait Implementations§
source§impl Clone for BanFromCommunityResponse
impl Clone for BanFromCommunityResponse
source§fn clone(&self) -> BanFromCommunityResponse
fn clone(&self) -> BanFromCommunityResponse
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 BanFromCommunityResponse
impl Debug for BanFromCommunityResponse
source§impl<'de> Deserialize<'de> for BanFromCommunityResponse
impl<'de> Deserialize<'de> for BanFromCommunityResponse
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 BanFromCommunityResponse
impl Send for BanFromCommunityResponse
impl Sync for BanFromCommunityResponse
impl Unpin for BanFromCommunityResponse
impl UnwindSafe for BanFromCommunityResponse
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