pub struct ConsolidationStrategy {
pub legacy: Option<Legacy>,
pub none: Option<NoConsolidation>,
}Expand description
How the individual activities are consolidated. If a set of activities is related they can be consolidated into one combined activity, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.
This type is not used in any activity, and only used as part of another schema.
Fields§
§legacy: Option<Legacy>The individual activities are consolidated using the legacy strategy.
none: Option<NoConsolidation>The individual activities are not consolidated.
Trait Implementations§
Source§impl Clone for ConsolidationStrategy
impl Clone for ConsolidationStrategy
Source§fn clone(&self) -> ConsolidationStrategy
fn clone(&self) -> ConsolidationStrategy
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 ConsolidationStrategy
impl Debug for ConsolidationStrategy
Source§impl Default for ConsolidationStrategy
impl Default for ConsolidationStrategy
Source§fn default() -> ConsolidationStrategy
fn default() -> ConsolidationStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsolidationStrategy
impl<'de> Deserialize<'de> for ConsolidationStrategy
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 Serialize for ConsolidationStrategy
impl Serialize for ConsolidationStrategy
impl Part for ConsolidationStrategy
Auto Trait Implementations§
impl Freeze for ConsolidationStrategy
impl RefUnwindSafe for ConsolidationStrategy
impl Send for ConsolidationStrategy
impl Sync for ConsolidationStrategy
impl Unpin for ConsolidationStrategy
impl UnwindSafe for ConsolidationStrategy
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