Enum hypothesis::groups::Organization[][src]

pub enum Organization {
    String(String),
    Organization(Option<Org>),
}

Information about an organization Can be just the organization ID, an Org struct, or None if user is not authorized to access this organization

Variants

String(String)

Unexpanded = Unique organization ID

Organization(Option<Org>)

Expanded (None if not authorized)

Trait Implementations

impl Clone for Organization[src]

impl Debug for Organization[src]

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

impl PartialEq<Organization> for Organization[src]

impl Serialize for Organization[src]

impl StructuralPartialEq for Organization[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<D> OwoColorize for D

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.