pub struct PdfDocumentInfo {Show 15 fields
pub document_url: Option<String>,
pub major_version: i32,
pub minor_version: i32,
pub is_encrypted: bool,
pub is_locked: bool,
pub permissions_status: i32,
pub access_permissions: u64,
pub allows_printing: bool,
pub allows_copying: bool,
pub allows_document_changes: bool,
pub allows_document_assembly: bool,
pub allows_content_accessibility: bool,
pub allows_commenting: bool,
pub allows_form_field_entry: bool,
pub page_class: String,
}Fields§
§document_url: Option<String>§major_version: i32§minor_version: i32§is_encrypted: bool§is_locked: bool§permissions_status: i32§access_permissions: u64§allows_printing: bool§allows_copying: bool§allows_document_changes: bool§allows_document_assembly: bool§allows_content_accessibility: bool§allows_commenting: bool§allows_form_field_entry: bool§page_class: StringImplementations§
Source§impl PdfDocumentInfo
impl PdfDocumentInfo
pub fn permissions_status_enum(&self) -> Option<PdfDocumentPermissions>
Trait Implementations§
Source§impl Clone for PdfDocumentInfo
impl Clone for PdfDocumentInfo
Source§fn clone(&self) -> PdfDocumentInfo
fn clone(&self) -> PdfDocumentInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PdfDocumentInfo
impl Debug for PdfDocumentInfo
Source§impl<'de> Deserialize<'de> for PdfDocumentInfo
impl<'de> Deserialize<'de> for PdfDocumentInfo
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 PdfDocumentInfo
impl RefUnwindSafe for PdfDocumentInfo
impl Send for PdfDocumentInfo
impl Sync for PdfDocumentInfo
impl Unpin for PdfDocumentInfo
impl UnsafeUnpin for PdfDocumentInfo
impl UnwindSafe for PdfDocumentInfo
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