pub struct Project {
pub index: usize,
pub name: String,
pub owner: String,
pub is_private: bool,
pub is_mirror: bool,
pub description: String,
pub clone_url: String,
pub original_url: String,
pub default_branch: String,
pub repositories: Vec<Repository>,
}
Expand description
A software project that resides on a forge (Gitea, GitLab, etc.).
Fields§
§index: usize
Unique identifier of the project
name: String
Name of the project, relative to the owner
owner: String
Owner of the project, either a forge user or an organization.
is_private: bool
True if the visibility of the project is not public.
is_mirror: bool
True if it is a mirror of a project residing on another forge
description: String
Long, multiline, description of the project.
clone_url: String
URL to clone the git repository of the project.
original_url: String
URL of the homepage of the project
default_branch: String
Name of the default branch in the git repository
repositories: Vec<Repository>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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<Project> for Project
impl PartialEq<Project> for Project
impl Eq for Project
impl StructuralEq for Project
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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