[][src]Struct gitlab::types::ProjectSnippet

pub struct ProjectSnippet {
    pub id: SnippetId,
    pub title: String,
    pub file_name: String,
    pub author: UserBasic,
    pub updated_at: DateTime<Utc>,
    pub created_at: DateTime<Utc>,
    pub expires_at: Option<DateTime<Utc>>,
    pub web_url: String,
}

A project-specific snippet.

Fields

id: SnippetId

The ID of the snippet.

title: String

The title of the snippet.

file_name: String

The name of the snippet.

author: UserBasic

The author of the snippet.

updated_at: DateTime<Utc>

When the snippet was last updated.

created_at: DateTime<Utc>

When the snippet was created.

expires_at: Option<DateTime<Utc>>

When the snippet was created.

web_url: String

The URL of the snippet.

Trait Implementations

impl Clone for ProjectSnippet[src]

impl Debug for ProjectSnippet[src]

impl Serialize for ProjectSnippet[src]

impl<'de> Deserialize<'de> for ProjectSnippet[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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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