pub struct PgAggregateEntity<'a> {Show 26 fields
pub full_path: &'a str,
pub module_path: &'a str,
pub file: &'a str,
pub line: u32,
pub name: &'a str,
pub ordered_set: bool,
pub args: Vec<AggregateTypeEntity<'a>>,
pub direct_args: Option<Vec<AggregateTypeEntity<'a>>>,
pub stype: AggregateTypeEntity<'a>,
pub sfunc: &'a str,
pub finalfunc: Option<&'a str>,
pub finalfunc_modify: Option<FinalizeModify>,
pub combinefunc: Option<&'a str>,
pub serialfunc: Option<&'a str>,
pub deserialfunc: Option<&'a str>,
pub initcond: Option<&'a str>,
pub msfunc: Option<&'a str>,
pub minvfunc: Option<&'a str>,
pub mstype: Option<UsedTypeEntity<'a>>,
pub mfinalfunc: Option<&'a str>,
pub mfinalfunc_modify: Option<FinalizeModify>,
pub minitcond: Option<&'a str>,
pub sortop: Option<&'a str>,
pub parallel: Option<ParallelOption>,
pub hypothetical: bool,
pub to_sql_config: ToSqlConfigEntity<'a>,
}Fields§
§full_path: &'a str§module_path: &'a str§file: &'a str§line: u32§name: &'a str§ordered_set: boolIf the aggregate is an ordered set aggregate.
args: Vec<AggregateTypeEntity<'a>>The arg_data_type list.
Corresponds to Args in pgrx::aggregate::Aggregate.
direct_args: Option<Vec<AggregateTypeEntity<'a>>>The direct argument list, appearing before ORDER BY in ordered set aggregates.
Corresponds to OrderBy in pgrx::aggregate::Aggregate.
stype: AggregateTypeEntity<'a>The STYPE and name parameter for CREATE AGGREGATE
The implementor of an pgrx::aggregate::Aggregate.
sfunc: &'a strThe SFUNC parameter for CREATE AGGREGATE
Corresponds to state in pgrx::aggregate::Aggregate.
finalfunc: Option<&'a str>The FINALFUNC parameter for CREATE AGGREGATE
Corresponds to finalize in pgrx::aggregate::Aggregate.
finalfunc_modify: Option<FinalizeModify>The FINALFUNC_MODIFY parameter for CREATE AGGREGATE
Corresponds to FINALIZE_MODIFY in pgrx::aggregate::Aggregate.
combinefunc: Option<&'a str>The COMBINEFUNC parameter for CREATE AGGREGATE
Corresponds to combine in pgrx::aggregate::Aggregate.
serialfunc: Option<&'a str>The SERIALFUNC parameter for CREATE AGGREGATE
Corresponds to serial in pgrx::aggregate::Aggregate.
deserialfunc: Option<&'a str>The DESERIALFUNC parameter for CREATE AGGREGATE
Corresponds to deserial in pgrx::aggregate::Aggregate.
initcond: Option<&'a str>The INITCOND parameter for CREATE AGGREGATE
Corresponds to INITIAL_CONDITION in pgrx::aggregate::Aggregate.
msfunc: Option<&'a str>The MSFUNC parameter for CREATE AGGREGATE
Corresponds to moving_state in pgrx::aggregate::Aggregate.
minvfunc: Option<&'a str>The MINVFUNC parameter for CREATE AGGREGATE
Corresponds to moving_state_inverse in pgrx::aggregate::Aggregate.
mstype: Option<UsedTypeEntity<'a>>The MSTYPE parameter for CREATE AGGREGATE
Corresponds to MovingState in pgrx::aggregate::Aggregate.
mfinalfunc: Option<&'a str>The MFINALFUNC parameter for CREATE AGGREGATE
Corresponds to moving_state_finalize in pgrx::aggregate::Aggregate.
mfinalfunc_modify: Option<FinalizeModify>The MFINALFUNC_MODIFY parameter for CREATE AGGREGATE
Corresponds to MOVING_FINALIZE_MODIFY in pgrx::aggregate::Aggregate.
minitcond: Option<&'a str>The MINITCOND parameter for CREATE AGGREGATE
Corresponds to MOVING_INITIAL_CONDITION in pgrx::aggregate::Aggregate.
sortop: Option<&'a str>The SORTOP parameter for CREATE AGGREGATE
Corresponds to SORT_OPERATOR in pgrx::aggregate::Aggregate.
parallel: Option<ParallelOption>The PARALLEL parameter for CREATE AGGREGATE
Corresponds to PARALLEL in pgrx::aggregate::Aggregate.
hypothetical: boolThe HYPOTHETICAL parameter for CREATE AGGREGATE
Corresponds to hypothetical in pgrx::aggregate::Aggregate.
to_sql_config: ToSqlConfigEntity<'a>Trait Implementations§
Source§impl<'a> Clone for PgAggregateEntity<'a>
impl<'a> Clone for PgAggregateEntity<'a>
Source§fn clone(&self) -> PgAggregateEntity<'a>
fn clone(&self) -> PgAggregateEntity<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for PgAggregateEntity<'a>
impl<'a> Debug for PgAggregateEntity<'a>
Source§impl<'a> From<PgAggregateEntity<'a>> for SqlGraphEntity<'a>
impl<'a> From<PgAggregateEntity<'a>> for SqlGraphEntity<'a>
Source§fn from(val: PgAggregateEntity<'a>) -> Self
fn from(val: PgAggregateEntity<'a>) -> Self
Source§impl<'a> Hash for PgAggregateEntity<'a>
impl<'a> Hash for PgAggregateEntity<'a>
Source§impl<'a> Ord for PgAggregateEntity<'a>
impl<'a> Ord for PgAggregateEntity<'a>
Source§fn cmp(&self, other: &PgAggregateEntity<'a>) -> Ordering
fn cmp(&self, other: &PgAggregateEntity<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl<'a> PartialEq for PgAggregateEntity<'a>
impl<'a> PartialEq for PgAggregateEntity<'a>
Source§impl<'a> PartialOrd for PgAggregateEntity<'a>
impl<'a> PartialOrd for PgAggregateEntity<'a>
Source§impl SqlGraphIdentifier for PgAggregateEntity<'_>
impl SqlGraphIdentifier for PgAggregateEntity<'_>
Source§impl ToSql for PgAggregateEntity<'_>
impl ToSql for PgAggregateEntity<'_>
impl<'a> Eq for PgAggregateEntity<'a>
impl<'a> StructuralPartialEq for PgAggregateEntity<'a>
Auto Trait Implementations§
impl<'a> Freeze for PgAggregateEntity<'a>
impl<'a> RefUnwindSafe for PgAggregateEntity<'a>
impl<'a> Send for PgAggregateEntity<'a>
impl<'a> Sync for PgAggregateEntity<'a>
impl<'a> Unpin for PgAggregateEntity<'a>
impl<'a> UnsafeUnpin for PgAggregateEntity<'a>
impl<'a> UnwindSafe for PgAggregateEntity<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.