pub struct GitlabProjectView {
pub clone_url: Option<String>,
pub default_branch: Option<String>,
pub description: Option<String>,
pub full_name: Option<String>,
pub html_url: Option<String>,
pub name: Option<String>,
pub private: Option<bool>,
pub pushed_at: Option<String>,
}Fields§
§clone_url: Option<String>CloneURL is the https remote to clone.
default_branch: Option<String>DefaultBranch is the branch a clone lands on ("main" when GitLab names none, which is what an empty project reports).
description: Option<String>Description is the project’s own, empty when it has none.
full_name: Option<String>FullName is the namespace path ("acme/widgets", "acme/team/widgets" for a subgroup) — the string GitLab calls path_with_namespace.
html_url: Option<String>HTMLURL is the project’s page.
name: Option<String>Name is the project’s path segment ("widgets"), not its display name.
private: Option<bool>Private is true for anything not publicly visible (private or internal).
pushed_at: Option<String>PushedAt is RFC3339 last activity, so a client can sort or say "2h ago".
Implementations§
Source§impl GitlabProjectView
impl GitlabProjectView
pub fn new() -> GitlabProjectView
Trait Implementations§
Source§impl Clone for GitlabProjectView
impl Clone for GitlabProjectView
Source§fn clone(&self) -> GitlabProjectView
fn clone(&self) -> GitlabProjectView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitlabProjectView
impl Debug for GitlabProjectView
Source§impl Default for GitlabProjectView
impl Default for GitlabProjectView
Source§fn default() -> GitlabProjectView
fn default() -> GitlabProjectView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitlabProjectView
impl<'de> Deserialize<'de> for GitlabProjectView
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 GitlabProjectView
impl PartialEq for GitlabProjectView
Source§impl Serialize for GitlabProjectView
impl Serialize for GitlabProjectView
impl StructuralPartialEq for GitlabProjectView
Auto Trait Implementations§
impl Freeze for GitlabProjectView
impl RefUnwindSafe for GitlabProjectView
impl Send for GitlabProjectView
impl Sync for GitlabProjectView
impl Unpin for GitlabProjectView
impl UnsafeUnpin for GitlabProjectView
impl UnwindSafe for GitlabProjectView
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