#[non_exhaustive]pub struct SshModuli {
pub modulus_type: Option<String>,
pub refresh: Option<String>,
pub count: Option<String>,
}Expand description
The moduli block: how Diffie-Hellman prime moduli are generated for group exchange.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.modulus_type: Option<String>designer or safe, from type.
refresh: Option<String>monthly or weekly.
count: Option<String>Number of moduli to generate.
Trait Implementations§
impl Eq for SshModuli
impl StructuralPartialEq for SshModuli
Auto Trait Implementations§
impl Forget for SshModuli
impl Freeze for SshModuli
impl Move for SshModuli
impl RefUnwindSafe for SshModuli
impl Send for SshModuliwhere
RawVecInner: Send,
impl Sync for SshModuliwhere
RawVecInner: Sync,
impl Unpin for SshModuli
impl UnsafeUnpin for SshModuli
impl UnwindSafe for SshModuliwhere
RawVecInner: UnwindSafe,
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