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,
}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
impl Debug for ProjectSnippet[src]
impl Clone for ProjectSnippet[src]
fn clone(&self) -> ProjectSnippet
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more