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