Struct gitlab::types::ProjectSnippet [−][src]
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,
}
Expand description
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.
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
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 ProjectSnippet
impl Send for ProjectSnippet
impl Sync for ProjectSnippet
impl Unpin for ProjectSnippet
impl UnwindSafe for ProjectSnippet
Blanket Implementations
Mutably borrows from an owned value. Read more
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