pub struct Context69Client { /* private fields */ }Implementations§
Source§impl Context69Client
impl Context69Client
pub async fn ensure_scope( &self, spec: &ScopeSpec, ) -> Result<EnsureScopeResponse, Error>
pub async fn text_batch( &self, group_path_value: &str, request: &TextBatchRequest, ) -> Result<TaskRef, Error>
pub async fn url_batch( &self, group_path_value: &str, request: &UrlBatchRequest, ) -> Result<TaskRef, Error>
pub async fn file_batch( &self, group_path_value: &str, request: &FileBatchRequest, ) -> Result<TaskRef, Error>
pub async fn delete_batch( &self, group_path_value: &str, request: &DeleteBatchRequest, ) -> Result<TaskRef, Error>
pub async fn submit_task( &self, request: &GenericTaskRequest, ) -> Result<TaskRef, Error>
pub async fn task(&self, task_id: Uuid) -> Result<TaskResponse, Error>
pub async fn tasks( &self, query: &TaskListQuery, ) -> Result<TaskPageResponse, Error>
pub async fn task_items( &self, task_id: Uuid, cursor: Option<&str>, ) -> Result<TaskItemsResponse, Error>
pub async fn wait( &self, task_id: Uuid, timeout: Duration, ) -> Result<TaskResponse, Error>
pub async fn wait_with_options( &self, task_id: Uuid, options: WaitOptions, ) -> Result<TaskResponse, Error>
pub async fn retry_task( &self, task_id: Uuid, ) -> Result<TaskRetryResponse, Error>
pub async fn cancel_task(&self, task_id: Uuid) -> Result<(), Error>
pub async fn search_compact( &self, request: &SearchRequest, ) -> Result<CompactSearchResponse, Error>
pub async fn get_document( &self, document_id: i64, locale: Option<&str>, ) -> Result<DocumentResponse, Error>
pub async fn get_document_by_key( &self, group_path_value: &str, key: &DocumentKey, locale: Option<&str>, ) -> Result<DocumentResponse, Error>
pub async fn get_documents( &self, group_path_value: &str, request: &BatchGetDocumentsRequest, ) -> Result<BatchGetDocumentsResponse, Error>
pub async fn me(&self) -> Result<AuthMeResponse, Error>
pub async fn healthz(&self) -> Result<HealthResponse, Error>
Source§impl Context69Client
impl Context69Client
pub fn builder() -> Context69ClientBuilder
pub fn with_personal_access_token( &self, token: impl Into<String>, ) -> Result<Context69Client, Error>
Trait Implementations§
Source§impl Clone for Context69Client
impl Clone for Context69Client
Source§fn clone(&self) -> Context69Client
fn clone(&self) -> Context69Client
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 !RefUnwindSafe for Context69Client
impl !UnwindSafe for Context69Client
impl Freeze for Context69Client
impl Send for Context69Client
impl Sync for Context69Client
impl Unpin for Context69Client
impl UnsafeUnpin for Context69Client
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