Enum gitlab::webhooks::SnippetType
source · [−]pub enum SnippetType {
Project,
Personal,
}
Expand description
The type of a snippet.
Variants
Project
A project-owned snippet.
Personal
A user-owned snippet.
Trait Implementations
sourceimpl Clone for SnippetType
impl Clone for SnippetType
sourcefn clone(&self) -> SnippetType
fn clone(&self) -> SnippetType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SnippetType
impl Debug for SnippetType
sourceimpl<'de> Deserialize<'de> for SnippetType
impl<'de> Deserialize<'de> for SnippetType
sourcefn 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
sourceimpl PartialEq<SnippetType> for SnippetType
impl PartialEq<SnippetType> for SnippetType
sourcefn eq(&self, other: &SnippetType) -> bool
fn eq(&self, other: &SnippetType) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.