Struct azure_devops_rust_api::git::pushes::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieves pushes associated with the specified repository.
Arguments:
organization
: The name of the Azure DevOps organization.repository_id
: The name or ID of the repository.project
: Project ID or project name
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<GitPush>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<GitPush>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Push changes to the repository.
Arguments:
organization
: The name of the Azure DevOps organization.repository_id
: The name or ID of the repository.project
: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
push_id: i32,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, repository_id: impl Into<String>, push_id: i32, project: impl Into<String> ) -> RequestBuilder
Retrieves a particular push.
Arguments:
organization
: The name of the Azure DevOps organization.repository_id
: The name or ID of the repository.push_id
: ID of the push.project
: Project ID or project name
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