Struct zip_core::raw::DigitalSignature
source · pub struct DigitalSignature {
pub fixed: DigitalSignatureFixed,
pub signature_data: Vec<u8>,
}
Expand description
part of LocalFileHeader
which has a fixed size
Fields§
§fixed: DigitalSignatureFixed
§signature_data: Vec<u8>
Trait Implementations§
source§impl Debug for DigitalSignature
impl Debug for DigitalSignature
source§impl Parse for DigitalSignature
impl Parse for DigitalSignature
source§impl ParseExtend for DigitalSignature
impl ParseExtend for DigitalSignature
type Error = DynamicSizeError
type Fixed = DigitalSignatureFixed
source§impl PartialEq for DigitalSignature
impl PartialEq for DigitalSignature
source§fn eq(&self, other: &DigitalSignature) -> bool
fn eq(&self, other: &DigitalSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialRecord for DigitalSignature
impl PartialRecord for DigitalSignature
type Partial = DigitalSignatureFixed
fn get_partial(&self) -> &Self::Partial
source§fn is_valid_sizes(&self) -> bool
fn is_valid_sizes(&self) -> bool
all dynamic records contain dynamic data and length information in the
fixed part. Verify if those 2 values are matching
impl StructuralPartialEq for DigitalSignature
Auto Trait Implementations§
impl Freeze for DigitalSignature
impl RefUnwindSafe for DigitalSignature
impl Send for DigitalSignature
impl Sync for DigitalSignature
impl Unpin for DigitalSignature
impl UnwindSafe for DigitalSignature
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