Struct azure_devops_rust_api::git::blobs::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get_blobs_zip(
&self,
organization: impl Into<String>,
body: Vec<String>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_blobs_zip( &self, organization: impl Into<String>, body: Vec<String>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Gets one or more blobs in a zip file download.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Blob IDs (SHA1 hashes) to be returned in the zip file.repository_id
: The name or ID of the repository.project
: Project ID or project name
sourcepub fn get_blob(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
sha1: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_blob( &self, organization: impl Into<String>, repository_id: impl Into<String>, sha1: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get a single blob.
Repositories have both a name and an identifier. Identifiers are globally unique, but several projects may contain a repository of the same name. You don’t need to include the project if you specify a repository by ID. However, if you specify a repository by name, you must also specify the project (by name or ID).
Arguments:
organization
: The name of the Azure DevOps organization.repository_id
: The name or ID of the repository.sha1
: SHA1 hash of the file. You can get the SHA1 of a file using the “Git/Items/Get Item” endpoint.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