pub struct DeleteDocumentConfig {
pub http_options: Option<HttpOptions>,
pub force: Option<bool>,
}Expand description
Optional parameters for deleting a Document.
Fields§
§http_options: Option<HttpOptions>Optional. HTTP request overrides (SDK only, not sent to API).
force: Option<bool>Optional. Force delete related chunks and objects.
Trait Implementations§
Source§impl Clone for DeleteDocumentConfig
impl Clone for DeleteDocumentConfig
Source§fn clone(&self) -> DeleteDocumentConfig
fn clone(&self) -> DeleteDocumentConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteDocumentConfig
impl Debug for DeleteDocumentConfig
Source§impl Default for DeleteDocumentConfig
impl Default for DeleteDocumentConfig
Source§fn default() -> DeleteDocumentConfig
fn default() -> DeleteDocumentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteDocumentConfig
impl<'de> Deserialize<'de> for DeleteDocumentConfig
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 DeleteDocumentConfig
impl RefUnwindSafe for DeleteDocumentConfig
impl Send for DeleteDocumentConfig
impl Sync for DeleteDocumentConfig
impl Unpin for DeleteDocumentConfig
impl UnsafeUnpin for DeleteDocumentConfig
impl UnwindSafe for DeleteDocumentConfig
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