Enum lemmy_db_schema::SubscribedType
source · pub enum SubscribedType {
Subscribed,
NotSubscribed,
Pending,
}
Expand description
A type / status for a community subscribe.
Variants§
Trait Implementations§
source§impl Clone for SubscribedType
impl Clone for SubscribedType
source§fn clone(&self) -> SubscribedType
fn clone(&self) -> SubscribedType
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 SubscribedType
impl Debug for SubscribedType
source§impl<'de> Deserialize<'de> for SubscribedType
impl<'de> Deserialize<'de> for SubscribedType
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 Display for SubscribedType
impl Display for SubscribedType
source§impl FromStr for SubscribedType
impl FromStr for SubscribedType
source§impl PartialEq for SubscribedType
impl PartialEq for SubscribedType
source§fn eq(&self, other: &SubscribedType) -> bool
fn eq(&self, other: &SubscribedType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SubscribedType
impl Serialize for SubscribedType
source§impl TryFrom<&str> for SubscribedType
impl TryFrom<&str> for SubscribedType
impl Copy for SubscribedType
impl Eq for SubscribedType
impl StructuralEq for SubscribedType
impl StructuralPartialEq for SubscribedType
Auto Trait Implementations§
impl RefUnwindSafe for SubscribedType
impl Send for SubscribedType
impl Sync for SubscribedType
impl Unpin for SubscribedType
impl UnwindSafe for SubscribedType
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