pub struct TeamProjectReference {
pub abbreviation: Option<String>,
pub default_team_image_url: Option<String>,
pub description: Option<String>,
pub id: Option<String>,
pub last_update_time: Option<OffsetDateTime>,
pub name: String,
pub revision: Option<i64>,
pub state: Option<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: Option<String>
Project identifier.
last_update_time: Option<OffsetDateTime>
Project last update time.
name: String
Project name.
revision: Option<i64>
Project revision.
state: Option<State>
Project state.
url: Option<String>
Url to the full version of the object.
visibility: Visibility
Project visibility.
Implementations§
source§impl TeamProjectReference
impl TeamProjectReference
pub fn new(name: String, 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 for TeamProjectReference
impl PartialEq 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 ==
.source§impl Serialize for TeamProjectReference
impl Serialize for TeamProjectReference
impl StructuralPartialEq for TeamProjectReference
Auto Trait Implementations§
impl Freeze for TeamProjectReference
impl RefUnwindSafe for TeamProjectReference
impl Send for TeamProjectReference
impl Sync for TeamProjectReference
impl Unpin for TeamProjectReference
impl UnwindSafe for TeamProjectReference
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