pub enum CommentPermissionType {
Disabled,
Forbidden,
Owners,
SignedInUsers,
Everyone,
}
Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for CommentPermissionType
impl Clone for CommentPermissionType
Sourceยงfn clone(&self) -> CommentPermissionType
fn clone(&self) -> CommentPermissionType
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 CommentPermissionType
impl Debug for CommentPermissionType
Sourceยงimpl<'de> Deserialize<'de> for CommentPermissionType
impl<'de> Deserialize<'de> for CommentPermissionType
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 CommentPermissionType
impl PartialEq for CommentPermissionType
Sourceยงimpl Serialize for CommentPermissionType
impl Serialize for CommentPermissionType
impl Eq for CommentPermissionType
impl StructuralPartialEq for CommentPermissionType
Auto Trait Implementationsยง
impl Freeze for CommentPermissionType
impl RefUnwindSafe for CommentPermissionType
impl Send for CommentPermissionType
impl Sync for CommentPermissionType
impl Unpin for CommentPermissionType
impl UnwindSafe for CommentPermissionType
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.