pub struct PdfDate {
pub year: u16,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
pub tz_sign: TzSign,
pub tz_hour: u8,
pub tz_minute: u8,
}Expand description
Parsed PDF date string of the form D:YYYYMMDDHHmmSSOHH'mm', where
O is one of +, -, or Z for the offset sign. All fields after
the year are optional in the PDF spec; missing components default to
the values shown in PdfDate::default.
Fields§
§year: u16§month: u8§day: u8§hour: u8§minute: u8§second: u8§tz_sign: TzSign§tz_hour: u8§tz_minute: u8Implementations§
Trait Implementations§
impl Copy for PdfDate
impl Eq for PdfDate
impl StructuralPartialEq for PdfDate
Auto Trait Implementations§
impl Freeze for PdfDate
impl RefUnwindSafe for PdfDate
impl Send for PdfDate
impl Sync for PdfDate
impl Unpin for PdfDate
impl UnsafeUnpin for PdfDate
impl UnwindSafe for PdfDate
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