pub struct CryptFilter {
pub name: String,
pub method: CryptFilterMethod,
pub length: Option<u32>,
}Expand description
Crypt filter definition
Fields§
§name: StringFilter name
method: CryptFilterMethodEncryption method
length: Option<u32>Length in bytes (for RC4)
Implementations§
Source§impl CryptFilter
impl CryptFilter
Sourcepub fn standard(method: CryptFilterMethod) -> Self
pub fn standard(method: CryptFilterMethod) -> Self
Create standard crypt filter
Sourcepub fn to_dict(&self) -> Dictionary
pub fn to_dict(&self) -> Dictionary
Convert to dictionary
Trait Implementations§
Source§impl Clone for CryptFilter
impl Clone for CryptFilter
Source§fn clone(&self) -> CryptFilter
fn clone(&self) -> CryptFilter
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 moreAuto Trait Implementations§
impl Freeze for CryptFilter
impl RefUnwindSafe for CryptFilter
impl Send for CryptFilter
impl Sync for CryptFilter
impl Unpin for CryptFilter
impl UnwindSafe for CryptFilter
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