pub struct AgentInstancesApi { /* private fields */ }Implementations§
Source§impl AgentInstancesApi
impl AgentInstancesApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list( &self, params: Option<AgentInstanceListParams>, ) -> Result<ListAgentInstancesResponse, HttpError>
pub async fn get(&self, id: &str) -> Result<AgentInstanceResponse, HttpError>
pub async fn revoke(&self, id: &str) -> Result<(), HttpError>
pub async fn revoke_for_application( &self, application_id: &str, ) -> Result<(), HttpError>
Trait Implementations§
Source§impl Clone for AgentInstancesApi
impl Clone for AgentInstancesApi
Source§fn clone(&self) -> AgentInstancesApi
fn clone(&self) -> AgentInstancesApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentInstancesApi
impl !RefUnwindSafe for AgentInstancesApi
impl Send for AgentInstancesApi
impl Sync for AgentInstancesApi
impl Unpin for AgentInstancesApi
impl UnsafeUnpin for AgentInstancesApi
impl !UnwindSafe for AgentInstancesApi
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