Struct azure_devops_rust_api::work::models::Plan
source · pub struct Plan {Show 13 fields
pub created_by_identity: Option<IdentityRef>,
pub created_date: Option<OffsetDateTime>,
pub description: Option<String>,
pub id: Option<String>,
pub last_accessed: Option<OffsetDateTime>,
pub modified_by_identity: Option<IdentityRef>,
pub modified_date: Option<OffsetDateTime>,
pub name: Option<String>,
pub properties: Option<Value>,
pub revision: Option<i32>,
pub type_: Option<Type>,
pub url: Option<String>,
pub user_permissions: Option<UserPermissions>,
}
Expand description
Data contract for the plan definition
Fields§
§created_by_identity: Option<IdentityRef>
§created_date: Option<OffsetDateTime>
Date when the plan was created
description: Option<String>
Description of the plan
id: Option<String>
Id of the plan
last_accessed: Option<OffsetDateTime>
Date when the plan was last accessed. Default is null.
modified_by_identity: Option<IdentityRef>
§modified_date: Option<OffsetDateTime>
Date when the plan was last modified. Default to CreatedDate when the plan is first created.
name: Option<String>
Name of the plan
properties: Option<Value>
The PlanPropertyCollection instance associated with the plan. These are dependent on the type of the plan. For example, DeliveryTimelineView, it would be of type DeliveryViewPropertyCollection.
revision: Option<i32>
Revision of the plan. Used to safeguard users from overwriting each other’s changes.
type_: Option<Type>
Type of the plan
url: Option<String>
The resource url to locate the plan via rest api
user_permissions: Option<UserPermissions>
Bit flag indicating set of permissions a user has to the plan.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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 Plan
impl PartialEq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnwindSafe for Plan
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