pub struct SecureGeneratorConfiguration {
pub length: Option<i32>,
pub type: Option<SecureGeneratorType>,
}
Expand description
SecureGeneratorConfiguration :
Fields§
§length: Option<i32>
§type: Option<SecureGeneratorType>
Implementations§
Source§impl SecureGeneratorConfiguration
impl SecureGeneratorConfiguration
Sourcepub fn new() -> SecureGeneratorConfiguration
pub fn new() -> SecureGeneratorConfiguration
Trait Implementations§
Source§impl Clone for SecureGeneratorConfiguration
impl Clone for SecureGeneratorConfiguration
Source§fn clone(&self) -> SecureGeneratorConfiguration
fn clone(&self) -> SecureGeneratorConfiguration
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 SecureGeneratorConfiguration
impl Debug for SecureGeneratorConfiguration
Source§impl Default for SecureGeneratorConfiguration
impl Default for SecureGeneratorConfiguration
Source§fn default() -> SecureGeneratorConfiguration
fn default() -> SecureGeneratorConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecureGeneratorConfiguration
impl<'de> Deserialize<'de> for SecureGeneratorConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SecureGeneratorConfiguration
impl PartialEq for SecureGeneratorConfiguration
Source§fn eq(&self, other: &SecureGeneratorConfiguration) -> bool
fn eq(&self, other: &SecureGeneratorConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SecureGeneratorConfiguration
Auto Trait Implementations§
impl Freeze for SecureGeneratorConfiguration
impl RefUnwindSafe for SecureGeneratorConfiguration
impl Send for SecureGeneratorConfiguration
impl Sync for SecureGeneratorConfiguration
impl Unpin for SecureGeneratorConfiguration
impl UnwindSafe for SecureGeneratorConfiguration
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