pub struct PdfMetadata {
pub id: PdfId,
pub name: String,
pub description: String,
pub publish_at: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
Over the wire representation of an Pdf file’s metadata.
Fields§
§id: PdfId
The Pdf’s ID.
name: String
The name of the Pdf.
description: String
The description of the Pdf file.
publish_at: Option<DateTime<Utc>>
When the Pdf should be considered published (if at all).
created_at: DateTime<Utc>
When the Pdf was originally created.
updated_at: Option<DateTime<Utc>>
When the Pdf was last updated.
Trait Implementations§
Source§impl Debug for PdfMetadata
impl Debug for PdfMetadata
Source§impl<'de> Deserialize<'de> for PdfMetadata
impl<'de> Deserialize<'de> for PdfMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PdfMetadata
impl RefUnwindSafe for PdfMetadata
impl Send for PdfMetadata
impl Sync for PdfMetadata
impl Unpin for PdfMetadata
impl UnwindSafe for PdfMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more