pub struct Documents { /* private fields */ }
Implementations§
Source§impl Documents
impl Documents
pub fn new(url: &str, authorization_header: &str) -> Self
pub async fn post<T: Serialize>( &self, request: PostDocumentsRequest<T>, ) -> Result<PostDocumentsResponse, ErrorResponse>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Documents
impl RefUnwindSafe for Documents
impl Send for Documents
impl Sync for Documents
impl Unpin for Documents
impl UnwindSafe for Documents
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