pub struct ProjectInfo {
pub name: Option<String>,
pub id: String,
pub parent: Option<String>,
pub description: Option<String>,
pub state: Option<ProjectInfo_ProjectState>,
pub branches: Option<HashMap<String, String>>,
pub web_links: Option<Vec<WebLinkInfo>>,
}
Expand description
The ProjectInfo
entity contains information about a project.
Fields§
§name: Option<String>
The name of the project. Not set if returned in a map where the project name is used as map key.
id: String
The URL encoded project name.
parent: Option<String>
The name of the parent project.
?-
description: Option<String>
The description of the project.
state: Option<ProjectInfo_ProjectState>
ACTIVE, READ_ONLY or HIDDEN.
branches: Option<HashMap<String, String>>
Map of branch names to HEAD revisions.
web_links: Option<Vec<WebLinkInfo>>
Links to the project in external sites as a list of WebLinkInfo entries.
Trait Implementations§
Source§impl Clone for ProjectInfo
impl Clone for ProjectInfo
Source§fn clone(&self) -> ProjectInfo
fn clone(&self) -> ProjectInfo
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 ProjectInfo
impl Debug for ProjectInfo
Source§impl<'de> Deserialize<'de> for ProjectInfo
impl<'de> Deserialize<'de> for ProjectInfo
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
Auto Trait Implementations§
impl Freeze for ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnwindSafe for ProjectInfo
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