Struct azure_devops_rust_api::favorite::models::Favorite
source · pub struct Favorite {
pub links: Option<Value>,
pub artifact_id: Option<String>,
pub artifact_is_deleted: Option<bool>,
pub artifact_name: Option<String>,
pub artifact_properties: Option<ArtifactProperties>,
pub artifact_scope: Option<ArtifactScope>,
pub artifact_type: Option<String>,
pub creation_date: Option<OffsetDateTime>,
pub id: Option<String>,
pub owner: Option<IdentityRef>,
pub url: Option<String>,
}Expand description
Implementation of Favorite contract following modern storage
Fields§
§links: Option<Value>Links
artifact_id: Option<String>ID of the favorited artifact, unique in context of this artifact type.
artifact_is_deleted: Option<bool>Indicates if the artifact described by this favorite could not be located.
artifact_name: Option<String>Last known name of the artifact.
artifact_properties: Option<ArtifactProperties>§artifact_scope: Option<ArtifactScope>Describes the scope a favorited Artifact resides in. e.g. A team project.
artifact_type: Option<String>Type of artifact.
creation_date: Option<OffsetDateTime>Date and time this Favorite was created on server.
id: Option<String>Unique Id of the favorite item, defined by server at creation time.
owner: Option<IdentityRef>§url: Option<String>Fully-Qualified link to this Resource
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Favorite
impl<'de> Deserialize<'de> for Favorite
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 Favorite
impl PartialEq for Favorite
impl StructuralPartialEq for Favorite
Auto Trait Implementations§
impl RefUnwindSafe for Favorite
impl Send for Favorite
impl Sync for Favorite
impl Unpin for Favorite
impl UnwindSafe for Favorite
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