Struct libmedium::proxy::Post

source ·
pub struct Post {
    pub data: GetPostPost,
    pub date: String,
    pub preview_img: String,
    pub reading_time: usize,
    pub id: String,
    pub gists: Option<Vec<(String, GistContent)>>,
    pub paragraphs: Vec<String>,
}

Fields§

§data: GetPostPost§date: String§preview_img: String§reading_time: usize§id: String§gists: Option<Vec<(String, GistContent)>>§paragraphs: Vec<String>

Trait Implementations§

source§

impl TemplateOnce for Post

Render the template and return the rendering result as RenderResult Read more
Render the template and append the result to buf. Read more
source§

impl Sealed for Post

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§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

Returns the argument unchanged.

source§

impl<T> Instrument for T

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.
§

impl<V, T> VZip<V> for Twhere
    V: MultiLane<T>,

source§

impl<T> WithSubscriber for T

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more