pub struct DocCreationRequest {
pub doc_id: Option<String>,
}Fields§
§doc_id: Option<String>The ID of the document to create. If not provided, a random ID will be generated.
Trait Implementations§
Source§impl Debug for DocCreationRequest
impl Debug for DocCreationRequest
Source§impl<'de> Deserialize<'de> for DocCreationRequest
impl<'de> Deserialize<'de> for DocCreationRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DocCreationRequest
impl RefUnwindSafe for DocCreationRequest
impl Send for DocCreationRequest
impl Sync for DocCreationRequest
impl Unpin for DocCreationRequest
impl UnwindSafe for DocCreationRequest
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