pub struct SetWindowFields {
pub partition_by: Option<Value>,
pub sort_by: Option<Value>,
pub output: Map<String, Value>,
}Expand description
A $setWindowFields stage for MongoDB aggregation pipelines.
Fields§
§partition_by: Option<Value>PARTITION BY equivalent.
sort_by: Option<Value>SORT BY specification.
output: Map<String, Value>Output fields with window functions.
Implementations§
Trait Implementations§
Source§impl Clone for SetWindowFields
impl Clone for SetWindowFields
Source§fn clone(&self) -> SetWindowFields
fn clone(&self) -> SetWindowFields
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 SetWindowFields
impl Debug for SetWindowFields
Source§impl Default for SetWindowFields
impl Default for SetWindowFields
Source§impl<'de> Deserialize<'de> for SetWindowFields
impl<'de> Deserialize<'de> for SetWindowFields
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
Source§impl PartialEq for SetWindowFields
impl PartialEq for SetWindowFields
Source§impl Serialize for SetWindowFields
impl Serialize for SetWindowFields
impl StructuralPartialEq for SetWindowFields
Auto Trait Implementations§
impl Freeze for SetWindowFields
impl RefUnwindSafe for SetWindowFields
impl Send for SetWindowFields
impl Sync for SetWindowFields
impl Unpin for SetWindowFields
impl UnwindSafe for SetWindowFields
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