pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list(&self, organization: impl Into<String>) -> RequestBuilder
pub fn list(&self, organization: impl Into<String>) -> RequestBuilder
List the installed extensions in the account / project collection.
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<InstalledExtension>
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<InstalledExtension> ) -> RequestBuilder
Update an installed extension. Typically this API is used to enable or disable an extension.
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn get(
&self,
organization: impl Into<String>,
publisher_name: impl Into<String>,
extension_name: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, publisher_name: impl Into<String>, extension_name: impl Into<String> ) -> RequestBuilder
Get an installed extension by its publisher and extension name.
Arguments:
organization
: The name of the Azure DevOps organization.publisher_name
: Name of the publisher. Example: “fabrikam”.extension_name
: Name of the extension. Example: “ops-tools”.
sourcepub fn uninstall_extension_by_name(
&self,
organization: impl Into<String>,
publisher_name: impl Into<String>,
extension_name: impl Into<String>
) -> RequestBuilder
pub fn uninstall_extension_by_name( &self, organization: impl Into<String>, publisher_name: impl Into<String>, extension_name: impl Into<String> ) -> RequestBuilder
Uninstall the specified extension from the account / project collection.
Arguments:
organization
: The name of the Azure DevOps organization.publisher_name
: Name of the publisher. Example: “fabrikam”.extension_name
: Name of the extension. Example: “ops-tools”.
sourcepub fn install_extension_by_name(
&self,
organization: impl Into<String>,
publisher_name: impl Into<String>,
extension_name: impl Into<String>,
version: impl Into<String>
) -> RequestBuilder
pub fn install_extension_by_name( &self, organization: impl Into<String>, publisher_name: impl Into<String>, extension_name: impl Into<String>, version: impl Into<String> ) -> RequestBuilder
Install the specified extension into the account / project collection.
Arguments:
organization
: The name of the Azure DevOps organization.publisher_name
: Name of the publisher. Example: “fabrikam”.extension_name
: Name of the extension. Example: “ops-tools”.
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