Struct google_driveactivity2::api::ConsolidationStrategy[][src]

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

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

legacy: Option<Legacy>

The individual activities are consolidated using the legacy strategy.

none: Option<NoConsolidation>

The individual activities are not consolidated.

Trait Implementations

impl Clone for ConsolidationStrategy[src]

impl Debug for ConsolidationStrategy[src]

impl Default for ConsolidationStrategy[src]

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

impl Part for ConsolidationStrategy[src]

impl Serialize for ConsolidationStrategy[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.