pub struct RelationAggregate {
pub relation_name: String,
pub alias: String,
pub query: QuerySelection,
pub single_result: bool,
pub operation: Option<QueryOperation>,
}Fields§
§relation_name: String§alias: String§query: QuerySelection§single_result: bool§operation: Option<QueryOperation>Implementations§
Source§impl RelationAggregate
impl RelationAggregate
pub fn new( relation_name: impl Into<String>, alias: impl Into<String>, query: impl Into<QuerySelection>, single_result: bool, ) -> Self
pub fn with_operation(self, operation: QueryOperation) -> Self
Trait Implementations§
Source§impl Clone for RelationAggregate
impl Clone for RelationAggregate
Source§impl Debug for RelationAggregate
impl Debug for RelationAggregate
Source§impl PartialEq for RelationAggregate
impl PartialEq for RelationAggregate
impl StructuralPartialEq for RelationAggregate
Auto Trait Implementations§
impl Freeze for RelationAggregate
impl RefUnwindSafe for RelationAggregate
impl Send for RelationAggregate
impl Sync for RelationAggregate
impl Unpin for RelationAggregate
impl UnsafeUnpin for RelationAggregate
impl UnwindSafe for RelationAggregate
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