Struct bonsaidb_core::networking::DeleteDocs
source · pub struct DeleteDocs {
pub database: String,
pub view: ViewName,
pub key: Option<SerializedQueryKey>,
pub access_policy: AccessPolicy,
}
Expand description
Deletes the associated documents resulting from the view query.
Fields§
§database: String
The name of the database.
view: ViewName
The name of the view.
key: Option<SerializedQueryKey>
The filter for the view.
access_policy: AccessPolicy
The access policy for the query.
Trait Implementations§
source§impl Api for DeleteDocs
impl Api for DeleteDocs
source§impl Clone for DeleteDocs
impl Clone for DeleteDocs
source§fn clone(&self) -> DeleteDocs
fn clone(&self) -> DeleteDocs
Returns a copy 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 DeleteDocs
impl Debug for DeleteDocs
source§impl<'de> Deserialize<'de> for DeleteDocs
impl<'de> Deserialize<'de> for DeleteDocs
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 RefUnwindSafe for DeleteDocs
impl Send for DeleteDocs
impl Sync for DeleteDocs
impl Unpin for DeleteDocs
impl UnwindSafe for DeleteDocs
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