Struct git_cliff_core::remote::gitlab::GitLabProject
source · pub struct GitLabProject {
pub id: i64,
pub description: Option<String>,
pub name: String,
pub name_with_namespace: String,
pub path_with_namespace: String,
pub created_at: String,
pub default_branch: String,
}Available on (crate features
github or gitlab or bitbucket) and crate feature gitlab only.Expand description
Representation of a single GitLab Project.
https://docs.gitlab.com/ee/api/projects.html#get-single-project
Fields§
§id: i64GitLab id for project
description: Option<String>Optional Description of project
name: StringName of project
name_with_namespace: StringName of project with namespace owner / repo
path_with_namespace: StringName of project with namespace owner/repo
created_at: StringProject created at
default_branch: StringDefault branch eg (main/master)
Trait Implementations§
source§impl Clone for GitLabProject
impl Clone for GitLabProject
source§fn clone(&self) -> GitLabProject
fn clone(&self) -> GitLabProject
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GitLabProject
impl Debug for GitLabProject
source§impl Default for GitLabProject
impl Default for GitLabProject
source§fn default() -> GitLabProject
fn default() -> GitLabProject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitLabProject
impl<'de> Deserialize<'de> for GitLabProject
source§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
source§impl PartialEq for GitLabProject
impl PartialEq for GitLabProject
source§fn eq(&self, other: &GitLabProject) -> bool
fn eq(&self, other: &GitLabProject) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RemoteEntry for GitLabProject
impl RemoteEntry for GitLabProject
source§impl Serialize for GitLabProject
impl Serialize for GitLabProject
impl StructuralPartialEq for GitLabProject
Auto Trait Implementations§
impl Freeze for GitLabProject
impl RefUnwindSafe for GitLabProject
impl Send for GitLabProject
impl Sync for GitLabProject
impl Unpin for GitLabProject
impl UnwindSafe for GitLabProject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more