Enum github_rest::model::discussions::LockReason
source · pub enum LockReason {
OffTopic,
Resolved,
Spam,
TooHeated,
}
Variants§
Trait Implementations§
source§impl Clone for LockReason
impl Clone for LockReason
source§fn clone(&self) -> LockReason
fn clone(&self) -> LockReason
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 LockReason
impl Debug for LockReason
source§impl<'de> Deserialize<'de> for LockReason
impl<'de> Deserialize<'de> for LockReason
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 FromStr for LockReason
impl FromStr for LockReason
source§impl PartialEq<LockReason> for LockReason
impl PartialEq<LockReason> for LockReason
source§fn eq(&self, other: &LockReason) -> bool
fn eq(&self, other: &LockReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LockReason
impl Serialize for LockReason
source§impl TryFrom<&str> for LockReason
impl TryFrom<&str> for LockReason
source§impl VariantNames for LockReason
impl VariantNames for LockReason
impl StructuralPartialEq for LockReason
Auto Trait Implementations§
impl RefUnwindSafe for LockReason
impl Send for LockReason
impl Sync for LockReason
impl Unpin for LockReason
impl UnwindSafe for LockReason
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