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: StringThe name of the database.
view: ViewNameThe name of the view.
key: Option<SerializedQueryKey>The filter for the view.
access_policy: AccessPolicyThe 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<DeleteDocs, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<DeleteDocs, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for DeleteDocs
 
impl Serialize for DeleteDocs
source§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. 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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
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