Struct poppler::SignatureInfo
source · pub struct SignatureInfo { /* private fields */ }
v21_12
only.Expand description
PopplerSignatureInfo contains detailed info about a signature contained in a form field.
GLib type: Boxed type with copy-on-clone semantics.
Implementations§
source§impl SignatureInfo
impl SignatureInfo
sourcepub fn as_ptr(&self) -> *mut PopplerSignatureInfo
pub fn as_ptr(&self) -> *mut PopplerSignatureInfo
Return the inner pointer to the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow(ptr: &*mut PopplerSignatureInfo) -> &Self
pub unsafe fn from_glib_ptr_borrow(ptr: &*mut PopplerSignatureInfo) -> &Self
Borrows the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow_mut(
ptr: &mut *mut PopplerSignatureInfo,
) -> &mut Self
pub unsafe fn from_glib_ptr_borrow_mut( ptr: &mut *mut PopplerSignatureInfo, ) -> &mut Self
Borrows the underlying C value mutably.
source§impl SignatureInfo
impl SignatureInfo
sourcepub fn certificate_info(&self) -> Option<CertificateInfo>
Available on crate feature v23_8
only.
pub fn certificate_info(&self) -> Option<CertificateInfo>
v23_8
only.Returns PopplerCertificateInfo for given PopplerSignatureInfo.
§Returns
certificate info of the signature
sourcepub fn certificate_status(&self) -> CertificateStatus
pub fn certificate_status(&self) -> CertificateStatus
Returns status of the certificate for given PopplerSignatureInfo.
§Returns
certificate status of the signature
sourcepub fn local_signing_time(&self) -> Option<DateTime>
pub fn local_signing_time(&self) -> Option<DateTime>
Returns local time of signing as GDateTime. This does not contain information about time zone since it has not been preserved during conversion. Do not modify returned value since it is internal to PopplerSignatureInfo.
§Returns
GDateTime
sourcepub fn signature_status(&self) -> SignatureStatus
pub fn signature_status(&self) -> SignatureStatus
Returns status of the signature for given PopplerSignatureInfo.
§Returns
signature status of the signature
sourcepub fn signer_name(&self) -> Option<GString>
pub fn signer_name(&self) -> Option<GString>
Trait Implementations§
source§impl Clone for SignatureInfo
impl Clone for SignatureInfo
source§impl Debug for SignatureInfo
impl Debug for SignatureInfo
source§impl From<SignatureInfo> for Value
impl From<SignatureInfo> for Value
source§fn from(o: SignatureInfo) -> Self
fn from(o: SignatureInfo) -> Self
source§impl HasParamSpec for SignatureInfo
impl HasParamSpec for SignatureInfo
type ParamSpec = ParamSpecBoxed
§type SetValue = SignatureInfo
type SetValue = SignatureInfo
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, SignatureInfo>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for SignatureInfo
impl Hash for SignatureInfo
source§impl Ord for SignatureInfo
impl Ord for SignatureInfo
source§fn cmp(&self, other: &SignatureInfo) -> Ordering
fn cmp(&self, other: &SignatureInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for SignatureInfo
impl PartialEq for SignatureInfo
source§fn eq(&self, other: &SignatureInfo) -> bool
fn eq(&self, other: &SignatureInfo) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SignatureInfo
impl PartialOrd for SignatureInfo
source§fn partial_cmp(&self, other: &SignatureInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &SignatureInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for SignatureInfo
impl StaticType for SignatureInfo
source§fn static_type() -> Type
fn static_type() -> Type
Self
.impl Eq for SignatureInfo
impl StructuralPartialEq for SignatureInfo
Auto Trait Implementations§
impl Freeze for SignatureInfo
impl RefUnwindSafe for SignatureInfo
impl !Send for SignatureInfo
impl !Sync for SignatureInfo
impl Unpin for SignatureInfo
impl UnwindSafe for SignatureInfo
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)