Enum gitlab::webhooks::SnippetType [−][src]
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
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
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more