pub struct FunctionalCryptFilter {
pub name: String,
pub method: CryptFilterMethod,
pub length: Option<u32>,
pub auth_event: AuthEvent,
pub recipients: Option<Vec<String>>,
}Expand description
Functional Crypt Filter implementation
Fields§
§name: StringFilter name
method: CryptFilterMethodEncryption method
length: Option<u32>Length in bytes (for RC4)
auth_event: AuthEventAuthentication event (when filter is applied)
recipients: Option<Vec<String>>Recipients (for public key)
Implementations§
Source§impl FunctionalCryptFilter
impl FunctionalCryptFilter
Sourcepub fn to_dict(&self) -> Dictionary
pub fn to_dict(&self) -> Dictionary
Convert to PDF dictionary
Trait Implementations§
Source§impl Clone for FunctionalCryptFilter
impl Clone for FunctionalCryptFilter
Source§fn clone(&self) -> FunctionalCryptFilter
fn clone(&self) -> FunctionalCryptFilter
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 FunctionalCryptFilter
impl RefUnwindSafe for FunctionalCryptFilter
impl Send for FunctionalCryptFilter
impl Sync for FunctionalCryptFilter
impl Unpin for FunctionalCryptFilter
impl UnwindSafe for FunctionalCryptFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more