Struct stry_common::models::blog::Post[][src]

pub struct Post {
    pub parts: Vec<Existing<Part>>,
    pub comments: Vec<Existing<Comment>>,
}

Fields

parts: Vec<Existing<Part>>

The parts that make up this blog post.

comments: Vec<Existing<Comment>>

Comment/replies to the main post itself.

Trait Implementations

impl Clone for Post[src]

impl Debug for Post[src]

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

impl Eq for Post[src]

impl Hash for Post[src]

impl Ord for Post[src]

impl PartialEq<Post> for Post[src]

impl PartialOrd<Post> for Post[src]

impl Serialize for Post[src]

impl StructuralEq for Post[src]

impl StructuralPartialEq for Post[src]

Auto Trait Implementations

impl RefUnwindSafe for Post

impl Send for Post

impl Sync for Post

impl Unpin for Post

impl UnwindSafe for Post

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> 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>,