pub struct DocumentReembedRequest { /* private fields */ }Expand description
Implementations§
Source§impl DocumentReembedRequest
impl DocumentReembedRequest
Sourcepub fn new(document_id: impl Into<String>) -> Self
pub fn new(document_id: impl Into<String>) -> Self
Create a new request for the specified document id
Sourcepub fn with_callback_url(self, url: impl Into<String>) -> Self
pub fn with_callback_url(self, url: impl Into<String>) -> Self
Set callback URL
Sourcepub fn with_callback_header(self, hdr: BTreeMap<String, String>) -> Self
pub fn with_callback_header(self, hdr: BTreeMap<String, String>) -> Self
Set callback headers
Auto Trait Implementations§
impl Freeze for DocumentReembedRequest
impl RefUnwindSafe for DocumentReembedRequest
impl Send for DocumentReembedRequest
impl Sync for DocumentReembedRequest
impl Unpin for DocumentReembedRequest
impl UnsafeUnpin for DocumentReembedRequest
impl UnwindSafe for DocumentReembedRequest
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