Struct azure_devops_rust_api::wiki::wikis::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>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Gets all wikis in a project or collection.
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
sourcepub fn create(
&self,
organization: impl Into<String>,
body: impl Into<WikiCreateParametersV2>,
project: impl Into<String>
) -> RequestBuilder
pub fn create( &self, organization: impl Into<String>, body: impl Into<WikiCreateParametersV2>, project: impl Into<String> ) -> RequestBuilder
Creates the wiki resource.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Parameters for the wiki creation.project
: Project ID or project name
sourcepub fn get(
&self,
organization: impl Into<String>,
wiki_identifier: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, wiki_identifier: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Gets the wiki corresponding to the wiki ID or wiki name provided.
Arguments:
organization
: The name of the Azure DevOps organization.wiki_identifier
: Wiki ID or wiki name.project
: Project ID or project name
sourcepub fn update(
&self,
organization: impl Into<String>,
body: impl Into<WikiUpdateParameters>,
wiki_identifier: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn update( &self, organization: impl Into<String>, body: impl Into<WikiUpdateParameters>, wiki_identifier: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Updates the wiki corresponding to the wiki ID or wiki name provided using the update parameters.
Arguments:
organization
: The name of the Azure DevOps organization.body
: Update parameters.wiki_identifier
: Wiki ID or wiki name.project
: Project ID or project name
sourcepub fn delete(
&self,
organization: impl Into<String>,
wiki_identifier: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, organization: impl Into<String>, wiki_identifier: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Deletes the wiki corresponding to the wiki ID or wiki name provided.
Arguments:
organization
: The name of the Azure DevOps organization.wiki_identifier
: Wiki ID or wiki name.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