pub struct DocumentListRequest { /* private fields */ }Expand description
Implementations§
Source§impl DocumentListRequest
impl DocumentListRequest
Sourcepub fn with_query(self, q: DocumentListQuery) -> Self
pub fn with_query(self, q: DocumentListQuery) -> Self
Apply a query (replaces the current one).
Sourcepub async fn send_via(
&self,
client: &ZaiClient,
) -> ZaiResult<DocumentListResponse>
pub async fn send_via( &self, client: &ZaiClient, ) -> ZaiResult<DocumentListResponse>
Send via a ZaiClient and parse the typed response. Requires a query
to have been set via with_query.
Sourcepub async fn send_via_with_query(
self,
client: &ZaiClient,
q: &DocumentListQuery,
) -> ZaiResult<DocumentListResponse>
pub async fn send_via_with_query( self, client: &ZaiClient, q: &DocumentListQuery, ) -> ZaiResult<DocumentListResponse>
Validate the query then send via a ZaiClient and parse the typed
response.
Auto Trait Implementations§
impl Freeze for DocumentListRequest
impl RefUnwindSafe for DocumentListRequest
impl Send for DocumentListRequest
impl Sync for DocumentListRequest
impl Unpin for DocumentListRequest
impl UnsafeUnpin for DocumentListRequest
impl UnwindSafe for DocumentListRequest
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