Struct stry_common::models::Chapter[][src]

pub struct Chapter {
    pub id: Id,
    pub name: String,
    pub prefix: Vec<Part>,
    pub main: Vec<Part>,
    pub suffix: Vec<Part>,
    pub comments: Vec<Comment>,
    pub words: i64,
    pub created: DateTime<Utc>,
    pub updated: DateTime<Utc>,
}

Fields

id: Idname: Stringprefix: Vec<Part>main: Vec<Part>suffix: Vec<Part>comments: Vec<Comment>words: i64created: DateTime<Utc>updated: DateTime<Utc>

Trait Implementations

impl Clone for Chapter[src]

impl Debug for Chapter[src]

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

impl Eq for Chapter[src]

impl Hash for Chapter[src]

impl Ord for Chapter[src]

impl PartialEq<Chapter> for Chapter[src]

impl PartialOrd<Chapter> for Chapter[src]

impl Serialize for Chapter[src]

impl StructuralEq for Chapter[src]

impl StructuralPartialEq for Chapter[src]

Auto Trait Implementations

impl RefUnwindSafe for Chapter

impl Send for Chapter

impl Sync for Chapter

impl Unpin for Chapter

impl UnwindSafe for Chapter

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.