Struct rs621::pool::Pool[][src]

pub struct Pool {
    pub id: u64,
    pub name: String,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub creator_id: u64,
    pub description: String,
    pub is_active: bool,
    pub category: PoolCategory,
    pub is_deleted: bool,
    pub post_ids: Vec<u64>,
    pub creator_name: String,
    pub post_count: u64,
}

Structure representing a pool.

Fields

id: u64name: Stringcreated_at: DateTime<Utc>updated_at: DateTime<Utc>creator_id: u64description: Stringis_active: boolcategory: PoolCategoryis_deleted: boolpost_ids: Vec<u64>creator_name: Stringpost_count: u64

Trait Implementations

impl Debug for Pool[src]

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

impl Eq for Pool[src]

impl PartialEq<Pool> for Pool[src]

impl StructuralEq for Pool[src]

impl StructuralPartialEq for Pool[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<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, 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.