pub struct DocgenManager { /* private fields */ }Expand description
Operations for the “docgen” API area.
Implementations§
Source§impl DocgenManager
impl DocgenManager
pub async fn get_job(&self, job_id: String) -> Result<DocGenJob, Error>
Sourcepub fn list_jobs(
&self,
opts: Option<DocgenListJobsOptions>,
) -> DocgenListJobsPaginator
pub fn list_jobs( &self, opts: Option<DocgenListJobsOptions>, ) -> DocgenListJobsPaginator
Iterate every crate::models::schemas::DocGenJobFull across pages, threading the cursor.
Sourcepub fn list_batch_job(
&self,
batch_id: String,
opts: Option<DocgenListBatchJobOptions>,
) -> DocgenListBatchJobPaginator
pub fn list_batch_job( &self, batch_id: String, opts: Option<DocgenListBatchJobOptions>, ) -> DocgenListBatchJobPaginator
Iterate every crate::models::schemas::DocGenJob across pages, threading the cursor.
pub async fn create_batches( &self, body: DocGenBatchCreateRequest, ) -> Result<DocGenBatchBase, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for DocgenManager
impl !UnwindSafe for DocgenManager
impl Freeze for DocgenManager
impl Send for DocgenManager
impl Sync for DocgenManager
impl Unpin for DocgenManager
impl UnsafeUnpin for DocgenManager
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