Struct azure_devops_rust_api::git::policy_configurations::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn get(
&self,
organization: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Retrieve a list of policy configurations by a given set of scope/filtering criteria.
Below is a short description of how all of the query parameters interact with each other:
- repositoryId set, refName set: returns all policy configurations that apply to a particular branch in a repository
- repositoryId set, refName unset: returns all policy configurations that apply to a particular repository
- repositoryId unset, refName unset: returns all policy configurations that are defined at the project level
- repositoryId unset, refName set: returns all project-level branch policies, plus the project level configurations For all of the examples above, when policyType is set, it’ll restrict results to the given policy type
Arguments:
organization
: The name of the Azure DevOps organization.project
: Project ID or project name
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