Enum gitlab::webhooks::SnippetType
source · pub enum SnippetType {
Project,
Personal,
}
Expand description
The type of a snippet.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SnippetType
impl Clone for SnippetType
source§fn clone(&self) -> SnippetType
fn clone(&self) -> SnippetType
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 SnippetType
impl Debug for SnippetType
source§impl<'de> Deserialize<'de> for SnippetType
impl<'de> Deserialize<'de> for SnippetType
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<SnippetType> for SnippetType
impl PartialEq<SnippetType> for SnippetType
source§fn eq(&self, other: &SnippetType) -> bool
fn eq(&self, other: &SnippetType) -> bool
source§impl Serialize for SnippetType
impl Serialize for SnippetType
impl Copy for SnippetType
impl Eq for SnippetType
impl StructuralEq for SnippetType
impl StructuralPartialEq for SnippetType
Auto Trait Implementations§
impl RefUnwindSafe for SnippetType
impl Send for SnippetType
impl Sync for SnippetType
impl Unpin for SnippetType
impl UnwindSafe for SnippetType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.