pub enum PdfSignatureModificationDetectionPermission {
Mdp1,
Mdp2,
Mdp3,
}Expand description
The modification detection permission (MDP) applicable to a single digital signature
in a PdfDocument.
For more information on MDP, refer to “DocMDP” in Section 8.7.1 on page 731 of The PDF Reference, Sixth Edition. The permission levels in this enumeration correspond to those listed in table 8.104 on page 733.
Variants§
Mdp1
MDP access permission level 1: no changes to the document are permitted; any change to the document invalidates the signature.
Mdp2
MDP access permission level 2: permitted changes are filling in forms, instantiating page templates, and signing; other changes invalidate the signature.
Mdp3
MDP access permission level 3: permitted changes are the same as for level 2, as well as annotation creation, deletion, and modification; other changes invalidate the signature.
Trait Implementations§
Source§impl Clone for PdfSignatureModificationDetectionPermission
impl Clone for PdfSignatureModificationDetectionPermission
Source§fn clone(&self) -> PdfSignatureModificationDetectionPermission
fn clone(&self) -> PdfSignatureModificationDetectionPermission
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for PdfSignatureModificationDetectionPermission
impl PartialEq for PdfSignatureModificationDetectionPermission
Source§fn eq(&self, other: &PdfSignatureModificationDetectionPermission) -> bool
fn eq(&self, other: &PdfSignatureModificationDetectionPermission) -> bool
self and other values to be equal, and is used by ==.impl Copy for PdfSignatureModificationDetectionPermission
impl StructuralPartialEq for PdfSignatureModificationDetectionPermission
Auto Trait Implementations§
impl Freeze for PdfSignatureModificationDetectionPermission
impl RefUnwindSafe for PdfSignatureModificationDetectionPermission
impl Send for PdfSignatureModificationDetectionPermission
impl Sync for PdfSignatureModificationDetectionPermission
impl Unpin for PdfSignatureModificationDetectionPermission
impl UnwindSafe for PdfSignatureModificationDetectionPermission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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