[][src]Struct google_driveactivity2::ConsolidationStrategy

pub struct ConsolidationStrategy {
    pub none: Option<NoConsolidation>,
    pub legacy: Option<Legacy>,
}

How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, 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

none: Option<NoConsolidation>

The individual activities are not consolidated.

legacy: Option<Legacy>

The individual activities are consolidated using the legacy strategy.

Trait Implementations

impl Part for ConsolidationStrategy[src]

impl Default for ConsolidationStrategy[src]

impl Clone for ConsolidationStrategy[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ConsolidationStrategy[src]

impl Serialize for ConsolidationStrategy[src]

impl<'de> Deserialize<'de> for ConsolidationStrategy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]