Struct stry_common::models::Series[][src]

pub struct Series {
    pub id: Id,
    pub name: String,
    pub summary: String,
    pub state: State,
    pub stories: Either<Vec<Story>, Vec<Id>>,
    pub created: DateTime<Utc>,
    pub updated: DateTime<Utc>,
}

Fields

id: Idname: Stringsummary: Stringstate: Statestories: Either<Vec<Story>, Vec<Id>>

Variant

Is Left when its used directly and is Left when its used indirectly (ie in another entity).

created: DateTime<Utc>updated: DateTime<Utc>

Trait Implementations

impl Clone for Series[src]

impl Debug for Series[src]

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

impl Eq for Series[src]

impl Hash for Series[src]

impl Ord for Series[src]

impl PartialEq<Series> for Series[src]

impl PartialOrd<Series> for Series[src]

impl Serialize for Series[src]

impl StructuralEq for Series[src]

impl StructuralPartialEq for Series[src]

Auto Trait Implementations

impl RefUnwindSafe for Series

impl Send for Series

impl Sync for Series

impl Unpin for Series

impl UnwindSafe for Series

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoOption for T[src]

impl<T> IntoResult 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.