pub struct MaskGenAlgorithm {
pub mask_gen_algorithm: ObjectIdentifierAsn1,
pub hash_algorithm: HashAlgorithm,
}
Fields§
§mask_gen_algorithm: ObjectIdentifierAsn1
§hash_algorithm: HashAlgorithm
Implementations§
source§impl MaskGenAlgorithm
impl MaskGenAlgorithm
pub fn new(hash_algorithm: HashAlgorithm) -> Self
Trait Implementations§
source§impl Clone for MaskGenAlgorithm
impl Clone for MaskGenAlgorithm
source§fn clone(&self) -> MaskGenAlgorithm
fn clone(&self) -> MaskGenAlgorithm
Returns a copy 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 MaskGenAlgorithm
impl Debug for MaskGenAlgorithm
source§impl<'de> Deserialize<'de> for MaskGenAlgorithm
impl<'de> Deserialize<'de> for MaskGenAlgorithm
source§fn deserialize<D>(
deserializer: D,
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MaskGenAlgorithm
impl PartialEq for MaskGenAlgorithm
source§fn eq(&self, other: &MaskGenAlgorithm) -> bool
fn eq(&self, other: &MaskGenAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MaskGenAlgorithm
impl Serialize for MaskGenAlgorithm
source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for MaskGenAlgorithm
impl StructuralPartialEq for MaskGenAlgorithm
Auto Trait Implementations§
impl Freeze for MaskGenAlgorithm
impl RefUnwindSafe for MaskGenAlgorithm
impl Send for MaskGenAlgorithm
impl Sync for MaskGenAlgorithm
impl Unpin for MaskGenAlgorithm
impl UnwindSafe for MaskGenAlgorithm
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)