Struct bonsaidb_core::networking::Reduce
source · pub struct Reduce {
pub database: String,
pub view: ViewName,
pub key: Option<SerializedQueryKey>,
pub access_policy: AccessPolicy,
}
Expand description
Reduces a view.
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<'de> Deserialize<'de> for Reduce
impl<'de> Deserialize<'de> for Reduce
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 Reduce
impl Send for Reduce
impl Sync for Reduce
impl Unpin for Reduce
impl UnwindSafe for Reduce
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