pub struct Rollup {
pub relation_property_name: String,
pub relation_property_id: PropertyId,
pub rollup_property_name: String,
pub rollup_property_id: String,
pub function: RollupFunction,
}
Fields§
§relation_property_name: String
The name of the relation property this property is responsible for rolling up.
relation_property_id: PropertyId
The id of the relation property this property is responsible for rolling up.
rollup_property_name: String
The name of the property of the pages in the related database
that is used as an input to function
.
rollup_property_id: String
The id of the property of the pages in the related database
that is used as an input to function
.
function: RollupFunction
The function that is evaluated for every page in the relation of the rollup.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rollup
impl<'de> Deserialize<'de> for Rollup
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
impl Eq for Rollup
impl StructuralPartialEq for Rollup
Auto Trait Implementations§
impl Freeze for Rollup
impl RefUnwindSafe for Rollup
impl Send for Rollup
impl Sync for Rollup
impl Unpin for Rollup
impl UnwindSafe for Rollup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key
and return true
if they are equal.