Struct azure_devops_rust_api::hooks::publishers::Client
source · 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
Get a list of publishers.
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn get(
&self,
organization: impl Into<String>,
publisher_id: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, publisher_id: impl Into<String> ) -> RequestBuilder
Get a specific service hooks publisher.
Arguments:
organization
: The name of the Azure DevOps organization.publisher_id
: ID for a publisher.
sourcepub fn list_event_types(
&self,
organization: impl Into<String>,
publisher_id: impl Into<String>
) -> RequestBuilder
pub fn list_event_types( &self, organization: impl Into<String>, publisher_id: impl Into<String> ) -> RequestBuilder
Get the event types for a specific publisher.
Arguments:
organization
: The name of the Azure DevOps organization.publisher_id
: ID for a publisher.
sourcepub fn get_event_type(
&self,
organization: impl Into<String>,
publisher_id: impl Into<String>,
event_type_id: impl Into<String>
) -> RequestBuilder
pub fn get_event_type( &self, organization: impl Into<String>, publisher_id: impl Into<String>, event_type_id: impl Into<String> ) -> RequestBuilder
Get a specific event type.
Arguments:
organization
: The name of the Azure DevOps organization.publisher_id
: ID for a publisher.
sourcepub fn query_input_values(
&self,
organization: impl Into<String>,
body: impl Into<InputValuesQuery>,
publisher_id: impl Into<String>
) -> RequestBuilder
pub fn query_input_values( &self, organization: impl Into<String>, body: impl Into<InputValuesQuery>, publisher_id: impl Into<String> ) -> RequestBuilder
Arguments:
organization
: The name of the Azure DevOps organization.
sourcepub fn query_publishers(
&self,
organization: impl Into<String>,
body: impl Into<PublishersQuery>
) -> RequestBuilder
pub fn query_publishers( &self, organization: impl Into<String>, body: impl Into<PublishersQuery> ) -> RequestBuilder
Query for service hook publishers.
Arguments:
organization
: The name of the Azure DevOps organization.
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