Struct azure_devops_rust_api::favorite::favorites::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get_favorites_of_owner(
&self,
organization: impl Into<String>,
owner_scope_type: impl Into<String>,
owner_scope_id: impl Into<String>
) -> RequestBuilder
pub fn get_favorites_of_owner( &self, organization: impl Into<String>, owner_scope_type: impl Into<String>, owner_scope_id: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn create_favorite_of_owner(
&self,
organization: impl Into<String>,
body: impl Into<FavoriteCreateParameters>,
owner_scope_type: impl Into<String>,
owner_scope_id: impl Into<String>
) -> RequestBuilder
pub fn create_favorite_of_owner( &self, organization: impl Into<String>, body: impl Into<FavoriteCreateParameters>, owner_scope_type: impl Into<String>, owner_scope_id: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn get_favorite_by_artifact(
&self,
organization: impl Into<String>,
artifact_type: impl Into<String>,
artifact_id: impl Into<String>,
artifact_scope_type: impl Into<String>
) -> RequestBuilder
pub fn get_favorite_by_artifact( &self, organization: impl Into<String>, artifact_type: impl Into<String>, artifact_id: impl Into<String>, artifact_scope_type: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn delete_favorite_of_owner_by_id(
&self,
organization: impl Into<String>,
favorite_id: impl Into<String>,
owner_scope_type: impl Into<String>,
owner_scope_id: impl Into<String>,
artifact_type: impl Into<String>,
artifact_scope_type: impl Into<String>
) -> RequestBuilder
pub fn delete_favorite_of_owner_by_id( &self, organization: impl Into<String>, favorite_id: impl Into<String>, owner_scope_type: impl Into<String>, owner_scope_id: impl Into<String>, artifact_type: impl Into<String>, artifact_scope_type: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn get_favorite_of_owner_by_id(
&self,
organization: impl Into<String>,
favorite_id: impl Into<String>,
owner_scope_type: impl Into<String>,
owner_scope_id: impl Into<String>,
artifact_scope_type: impl Into<String>,
artifact_type: impl Into<String>
) -> RequestBuilder
pub fn get_favorite_of_owner_by_id( &self, organization: impl Into<String>, favorite_id: impl Into<String>, owner_scope_type: impl Into<String>, owner_scope_id: impl Into<String>, artifact_scope_type: impl Into<String>, artifact_type: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn get_favorites(&self, organization: impl Into<String>) -> RequestBuilder
pub fn get_favorites(&self, organization: impl Into<String>) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn create_favorite(
&self,
organization: impl Into<String>,
body: impl Into<FavoriteCreateParameters>
) -> RequestBuilder
pub fn create_favorite( &self, organization: impl Into<String>, body: impl Into<FavoriteCreateParameters> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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