[][src]Struct ucare::conversion::Service

pub struct Service<'a> { /* fields omitted */ }

Service is used to make calls to conversion API.

Implementations

impl<'_> Service<'_>[src]

pub fn document(&self, params: JobParams) -> Result<JobResult>[src]

Starts document conversion job

pub fn document_status(&self, token: i32) -> Result<StatusResult>[src]

Gets document conversion job status

pub fn video(&self, params: JobParams) -> Result<JobResult>[src]

Starts video conversion job

pub fn video_status(&self, token: i32) -> Result<StatusResult>[src]

Gets video conversion job status

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Service<'a>

impl<'a> !Send for Service<'a>

impl<'a> !Sync for Service<'a>

impl<'a> Unpin for Service<'a>

impl<'a> !UnwindSafe for Service<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.