Struct pastebin::PasteEntry [] [src]

pub struct PasteEntry {
    pub data: Vec<u8>,
    pub file_name: Option<String>,
    pub mime_type: String,
    pub best_before: Option<DateTime<Utc>>,
}

A paste representation. As simple as that.

Fields

Raw paste data.

File name associated with the pate, if any.

Mime type of the paste.

Expiration date, if any.

Trait Implementations

impl Debug for PasteEntry
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for PasteEntry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PasteEntry

impl Sync for PasteEntry