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<Reduce, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Reduce, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Reduce
impl Serialize for Reduce
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 Reduce
impl Send for Reduce
impl Sync for Reduce
impl Unpin for Reduce
impl UnwindSafe for Reduce
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