Enum gapi_grpc::google::apps::drive::activity::v2::settings_change::restriction_change::Feature[][src]

#[repr(i32)]pub enum Feature {
    Unspecified,
    SharingOutsideDomain,
    DirectSharing,
    ItemDuplication,
    DriveFileStream,
}

The feature which had changes to its restriction policy.

Variants

Unspecified

The feature which changed restriction settings was not available.

SharingOutsideDomain

When restricted, this prevents items from being shared outside the domain.

DirectSharing

When restricted, this prevents direct sharing of individual items.

ItemDuplication

When restricted, this prevents actions like copy, download, and print that might result in uncontrolled duplicates of items.

DriveFileStream

When restricted, this prevents use of Drive File Stream.

Implementations

impl Feature[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Feature.

pub fn from_i32(value: i32) -> Option<Feature>[src]

Converts an i32 to a Feature, or None if value is not a valid variant.

Trait Implementations

impl Clone for Feature[src]

impl Copy for Feature[src]

impl Debug for Feature[src]

impl Default for Feature[src]

impl Eq for Feature[src]

impl From<Feature> for i32[src]

impl Hash for Feature[src]

impl Ord for Feature[src]

impl PartialEq<Feature> for Feature[src]

impl PartialOrd<Feature> for Feature[src]

impl StructuralEq for Feature[src]

impl StructuralPartialEq for Feature[src]

Auto Trait Implementations

impl RefUnwindSafe for Feature

impl Send for Feature

impl Sync for Feature

impl Unpin for Feature

impl UnwindSafe for Feature

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]