pub fn with_key_type<S>(key_type: S) -> Self
    where
        S: Into<String>,
    {
        Self {
            key_type: Some(key_type.into()),
            ..Default::default()
        }
    }
/// Create new parameters with the given key type.
Create new parameters with the given key type.
Create new parameters with the given key type .
pub fn with_key_type<S>(key_type: S) -> Self
    where
        S: Into<String>,
    {
        Self {
            key_type: Some(key_type.into()),
            ..Default::default()
        }
    }
pub fn with_key_type < S > ( key_type : S ) -> Self where S : Into < String > , { Self { key_type : Some ( key_type . into ( ) ) , .. Default :: default ( ) } }
Create new parameters with the given key type.
Create new parameters with the given key type .
key_type
S
key_type
S