pub struct Client(/* private fields */);Implementations§
Source§impl Client
impl Client
Sourcepub fn list(
&self,
organization: impl Into<String>,
project: impl Into<String>,
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String>, ) -> RequestBuilder
Gets the refs favorites for a repo and an identity.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project name
Sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<GitRefFavorite>,
project: impl Into<String>,
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<GitRefFavorite>, project: impl Into<String>, ) -> RequestBuilder
Creates a ref favorite
Arguments:
organization: The name of the Azure DevOps organization.body: The ref favorite to create.project: Project ID or project name
Sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>,
favorite_id: i32,
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String>, favorite_id: i32, ) -> RequestBuilder
Gets the refs favorite for a favorite Id.
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namefavorite_id: The Id of the requested ref favorite.
Sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
favorite_id: i32,
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, favorite_id: i32, ) -> RequestBuilder
Deletes the refs favorite specified
Arguments:
organization: The name of the Azure DevOps organization.project: Project ID or project namefavorite_id: The Id of the ref favorite to delete.
Auto Trait Implementations§
impl Freeze for Client
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