pub struct SingleEncryptedFile { /* private fields */ }Implementations§
Source§impl SingleEncryptedFile
impl SingleEncryptedFile
pub fn new() -> Self
pub fn new_with_val( has_content: bool, has_key: bool, is_signed: bool, has_digest: bool, ) -> Self
pub fn content(&mut self, content: bool) -> &mut Self
pub fn has_content(&self) -> bool
pub fn key(&mut self, key: bool) -> &mut Self
pub fn has_key(&self) -> bool
pub fn signed(&mut self, v: bool) -> &mut Self
pub fn is_signed(&self) -> bool
pub fn digest(&mut self, v: bool) -> &mut Self
pub fn has_digest(&self) -> bool
Trait Implementations§
Source§impl Clone for SingleEncryptedFile
impl Clone for SingleEncryptedFile
Source§fn clone(&self) -> SingleEncryptedFile
fn clone(&self) -> SingleEncryptedFile
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 moreSource§impl Debug for SingleEncryptedFile
impl Debug for SingleEncryptedFile
Source§impl Default for SingleEncryptedFile
impl Default for SingleEncryptedFile
Source§impl PartialEq for SingleEncryptedFile
impl PartialEq for SingleEncryptedFile
impl Eq for SingleEncryptedFile
impl StructuralPartialEq for SingleEncryptedFile
Auto Trait Implementations§
impl Freeze for SingleEncryptedFile
impl RefUnwindSafe for SingleEncryptedFile
impl Send for SingleEncryptedFile
impl Sync for SingleEncryptedFile
impl Unpin for SingleEncryptedFile
impl UnwindSafe for SingleEncryptedFile
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> 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