Struct azure_devops_rust_api::favorite::models::FavoriteProvider
source · pub struct FavoriteProvider {
pub favorites_secured_object: FavoritesSecuredObject,
pub artifact_type: Option<String>,
pub artifact_uri: Option<String>,
pub client_service_identifier: Option<String>,
pub contribution_id: Option<String>,
pub icon_class: Option<String>,
pub icon_name: Option<String>,
pub order: Option<i32>,
pub plural_name: Option<String>,
pub service_identifier: Option<String>,
pub service_uri: Option<String>,
}
Expand description
Exposes a provider of favorites.
Fields§
§favorites_secured_object: FavoritesSecuredObject
§artifact_type: Option<String>
Favorite artifact type
artifact_uri: Option<String>
URI for retrieving favorite artifacts
client_service_identifier: Option<String>
contributed client side service that is available for this provider to provide dynamic associated data.
contribution_id: Option<String>
Contribution Id
icon_class: Option<String>
Css class to be applied to the icon for the artifact.
icon_name: Option<String>
Name of the fabric icon to be applied for the artifact
order: Option<i32>
Group of favorites will be rendered in this order, 0 is top If 2 types share order, they will be coalesced into a single group
plural_name: Option<String>
Name used for rendering the title of each group of favorites
service_identifier: Option<String>
Service identifier of the service.
service_uri: Option<String>
Base URI of the service
Implementations§
Trait Implementations§
source§impl Clone for FavoriteProvider
impl Clone for FavoriteProvider
source§fn clone(&self) -> FavoriteProvider
fn clone(&self) -> FavoriteProvider
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 FavoriteProvider
impl Debug for FavoriteProvider
source§impl Default for FavoriteProvider
impl Default for FavoriteProvider
source§fn default() -> FavoriteProvider
fn default() -> FavoriteProvider
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FavoriteProvider
impl<'de> Deserialize<'de> for FavoriteProvider
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 FavoriteProvider
impl PartialEq for FavoriteProvider
source§fn eq(&self, other: &FavoriteProvider) -> bool
fn eq(&self, other: &FavoriteProvider) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FavoriteProvider
impl Serialize for FavoriteProvider
impl StructuralPartialEq for FavoriteProvider
Auto Trait Implementations§
impl Freeze for FavoriteProvider
impl RefUnwindSafe for FavoriteProvider
impl Send for FavoriteProvider
impl Sync for FavoriteProvider
impl Unpin for FavoriteProvider
impl UnwindSafe for FavoriteProvider
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