[][src]Enum gitlab::types::DiscussionNoteType

pub enum DiscussionNoteType {
    DiscussionNote,
    DiffNote,
}

The various types a note can have

Variants

DiscussionNote

A note in a standard discussion

DiffNote

A note attached to a diff

Methods

impl DiscussionNoteType[src]

pub fn as_str(&self) -> &'static str[src]

String representation of the variant.

Trait Implementations

impl Clone for DiscussionNoteType[src]

impl Copy for DiscussionNoteType[src]

impl Eq for DiscussionNoteType[src]

impl PartialEq<DiscussionNoteType> for DiscussionNoteType[src]

impl Debug for DiscussionNoteType[src]

impl StructuralPartialEq for DiscussionNoteType[src]

impl StructuralEq for DiscussionNoteType[src]

impl Serialize for DiscussionNoteType[src]

impl<'de> Deserialize<'de> for DiscussionNoteType[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err