pub struct EncryptionInfo {
pub filter: String,
pub v: i32,
pub r: i32,
pub o: Vec<u8>,
pub u: Vec<u8>,
pub p: i32,
pub length: Option<i32>,
}Expand description
Encryption information extracted from PDF trailer
Fields§
§filter: StringFilter name (should be “Standard”)
v: i32V entry (algorithm version)
r: i32R entry (revision)
o: Vec<u8>O entry (owner password hash)
u: Vec<u8>U entry (user password hash)
p: i32P entry (permissions)
length: Option<i32>Length entry (key length in bits)
Trait Implementations§
Source§impl Clone for EncryptionInfo
impl Clone for EncryptionInfo
Source§fn clone(&self) -> EncryptionInfo
fn clone(&self) -> EncryptionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EncryptionInfo
impl RefUnwindSafe for EncryptionInfo
impl Send for EncryptionInfo
impl Sync for EncryptionInfo
impl Unpin for EncryptionInfo
impl UnwindSafe for EncryptionInfo
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