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 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 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 Freeze for DeleteDocs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more