Struct azure_devops_rust_api::wit::models::TeamContext
source · pub struct TeamContext {
pub project: Option<String>,
pub project_id: Option<String>,
pub team: Option<String>,
pub team_id: Option<String>,
}
Expand description
The Team Context for an operation.
Fields§
§project: Option<String>
The team project Id or name. Ignored if ProjectId is set.
project_id: Option<String>
The Team Project ID. Required if Project is not set.
team: Option<String>
The Team Id or name. Ignored if TeamId is set.
team_id: Option<String>
The Team Id
Implementations§
source§impl TeamContext
impl TeamContext
Trait Implementations§
source§impl Clone for TeamContext
impl Clone for TeamContext
source§fn clone(&self) -> TeamContext
fn clone(&self) -> TeamContext
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 TeamContext
impl Debug for TeamContext
source§impl Default for TeamContext
impl Default for TeamContext
source§fn default() -> TeamContext
fn default() -> TeamContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TeamContext
impl<'de> Deserialize<'de> for TeamContext
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 TeamContext
impl PartialEq for TeamContext
source§fn eq(&self, other: &TeamContext) -> bool
fn eq(&self, other: &TeamContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TeamContext
impl Serialize for TeamContext
impl StructuralPartialEq for TeamContext
Auto Trait Implementations§
impl Freeze for TeamContext
impl RefUnwindSafe for TeamContext
impl Send for TeamContext
impl Sync for TeamContext
impl Unpin for TeamContext
impl UnwindSafe for TeamContext
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