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§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