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
data: Vec<u8>
Raw paste data.
file_name: Option<String>
File name associated with the pate, if any.
mime_type: String
Mime type of the paste.
best_before: Option<DateTime<Utc>>
Expiration date, if any.
Trait Implementations
impl Debug for PasteEntry
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PasteEntry
[src]
fn clone(&self) -> PasteEntry
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more