Struct revai::jobs::Jobs[][src]

pub struct Jobs {
    pub client: Client,
}

Fields

client: Client

Implementations

Get List of Jobs.

This function performs a GET to the /jobs endpoint.

Gets a list of transcription jobs submitted within the last 30 days in reverse chronological order up to the provided limit number of jobs per call. Note: Jobs older than 30 days will not be listed. Pagination is supported via passing the last job id from a previous call into starting_after.

Parameters:

  • limit: i64 – Limits the number of jobs returned, default is 100, max is 1000.
  • starting_after: &str – If specified, returns transcription jobs submitted before the job with this id, exclusive (job with this id is not included).

Get List of Jobs.

This function performs a GET to the /jobs endpoint.

As opposed to get_list_of, this function returns all the pages of the request at once.

Gets a list of transcription jobs submitted within the last 30 days in reverse chronological order up to the provided limit number of jobs per call. Note: Jobs older than 30 days will not be listed. Pagination is supported via passing the last job id from a previous call into starting_after.

Submit Transcription Job.

This function performs a POST to the /jobs endpoint.

Starts an asynchronous job to transcribe speech-to-text for a media file. Media files can be specified in two ways, either by including a public url to the media in the transcription job options or by uploading a local file as part of a multipart/form request.

Get Job By Id.

This function performs a GET to the /jobs/{id} endpoint.

Returns information about a transcription job

Delete Job by Id.

This function performs a DELETE to the /jobs/{id} endpoint.

Deletes a transcription job. All data related to the job, such as input media and transcript, will be permanently deleted. A job can only be deleted once it’s completed (either with success or failure).

Trait Implementations

Create a job.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more