Struct azure_devops_rust_api::git::models::TeamProjectReference
source · pub struct TeamProjectReference {
pub abbreviation: Option<String>,
pub default_team_image_url: Option<String>,
pub description: Option<String>,
pub id: String,
pub last_update_time: OffsetDateTime,
pub name: String,
pub revision: Option<i64>,
pub state: State,
pub url: Option<String>,
pub visibility: Visibility,
}Expand description
Represents a shallow reference to a TeamProject.
Fields§
§abbreviation: Option<String>Project abbreviation.
default_team_image_url: Option<String>Url to default team identity image.
description: Option<String>The project’s description (if any).
id: StringProject identifier.
last_update_time: OffsetDateTimeProject last update time.
name: StringProject name.
revision: Option<i64>Project revision.
state: StateProject state.
url: Option<String>Url to the full version of the object.
visibility: VisibilityProject visibility.
Implementations§
source§impl TeamProjectReference
impl TeamProjectReference
pub fn new( id: String, last_update_time: OffsetDateTime, name: String, state: State, visibility: Visibility ) -> Self
Trait Implementations§
source§impl Clone for TeamProjectReference
impl Clone for TeamProjectReference
source§fn clone(&self) -> TeamProjectReference
fn clone(&self) -> TeamProjectReference
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 TeamProjectReference
impl Debug for TeamProjectReference
source§impl<'de> Deserialize<'de> for TeamProjectReference
impl<'de> Deserialize<'de> for TeamProjectReference
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<TeamProjectReference> for TeamProjectReference
impl PartialEq<TeamProjectReference> for TeamProjectReference
source§fn eq(&self, other: &TeamProjectReference) -> bool
fn eq(&self, other: &TeamProjectReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.