Struct azure_devops_rust_api::release::folders::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list(
&self,
organization: impl Into<String>,
project: impl Into<String>,
path: impl Into<String>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String>, path: impl Into<String> ) -> RequestBuilder
Gets folders.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namepath
: Path of the folder.
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<Folder>,
project: impl Into<String>,
path: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<Folder>, project: impl Into<String>, path: impl Into<String> ) -> RequestBuilder
This method is no longer supported. Use CreateFolder with folder parameter API.
Arguments:
organization
: The name of the Azure DevOps organization.body
: folder.project
: Project ID or project namepath
: Path of the folder.
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<Folder>,
project: impl Into<String>,
path: impl Into<String>
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<Folder>, project: impl Into<String>, path: impl Into<String> ) -> RequestBuilder
Updates an existing folder at given existing path.
Arguments:
organization
: The name of the Azure DevOps organization.body
: folder.project
: Project ID or project namepath
: Path of the folder to update.
sourcepub fn delete(
&self,
organization: impl Into<String>,
project: impl Into<String>,
path: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, project: impl Into<String>, path: impl Into<String> ) -> RequestBuilder
Deletes a definition folder for given folder name and path and all it’s existing definitions.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project namepath
: Path of the folder 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