pub struct LanAgentClient { /* private fields */ }Implementations§
Source§impl LanAgentClient
impl LanAgentClient
pub async fn meta(&self) -> Result<LanAgentMetaResponse, SdkError>
pub async fn bootstrap_script(&self) -> Result<Value, SdkError>
pub async fn bootstrap_token( &self, body: &LanAgentBootstrapTokenRequest, ) -> Result<LanAgentBootstrapTokenResponse, SdkError>
pub async fn token(&self) -> Result<LanAgentCliTokenResponse, SdkError>
pub async fn submit_task_spec( &self, integration_id: &str, body: &LanAgentTaskSpecRequest, ) -> Result<LanAgentTaskSpecResponse, SdkError>
pub async fn list_tasks( &self, integration_id: &str, ) -> Result<Vec<Value>, SdkError>
Trait Implementations§
Source§impl Clone for LanAgentClient
impl Clone for LanAgentClient
Source§fn clone(&self) -> LanAgentClient
fn clone(&self) -> LanAgentClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LanAgentClient
impl !RefUnwindSafe for LanAgentClient
impl Send for LanAgentClient
impl Sync for LanAgentClient
impl Unpin for LanAgentClient
impl UnsafeUnpin for LanAgentClient
impl !UnwindSafe for LanAgentClient
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