pub enum CommunityWriteAccess {
Everybody,
Joined,
Owner,
}Expand description
Who can write to a Community.
Variants§
Everybody
Everybody.
Joined
Only people who joined the community can write to it.
Memberships can be managed by the owner of the community.
Owner
Only the owner of the community.
Trait Implementations§
Source§impl Clone for CommunityWriteAccess
impl Clone for CommunityWriteAccess
Source§fn clone(&self) -> CommunityWriteAccess
fn clone(&self) -> CommunityWriteAccess
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 CommunityWriteAccess
impl Debug for CommunityWriteAccess
Source§impl Default for CommunityWriteAccess
impl Default for CommunityWriteAccess
Source§impl<'de> Deserialize<'de> for CommunityWriteAccess
impl<'de> Deserialize<'de> for CommunityWriteAccess
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 PartialEq for CommunityWriteAccess
impl PartialEq for CommunityWriteAccess
Source§impl Serialize for CommunityWriteAccess
impl Serialize for CommunityWriteAccess
impl Eq for CommunityWriteAccess
impl StructuralPartialEq for CommunityWriteAccess
Auto Trait Implementations§
impl Freeze for CommunityWriteAccess
impl RefUnwindSafe for CommunityWriteAccess
impl Send for CommunityWriteAccess
impl Sync for CommunityWriteAccess
impl Unpin for CommunityWriteAccess
impl UnwindSafe for CommunityWriteAccess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.