Struct azure_devops_rust_api::git::trees::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
sha1: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, repository_id: impl Into<String>, sha1: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
The Tree endpoint returns the collection of objects underneath the specified tree. Trees are folders in a Git repository.
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
: Repository Id.sha1
: SHA1 hash of the tree object.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