pub struct KeyGenerateRequestData {
pub mechanisms: Vec<KeyMechanism>,
pub type: KeyType,
pub length: Option<i32>,
pub id: Option<String>,
pub restrictions: Option<Box<KeyRestrictions>>,
}Fields§
§mechanisms: Vec<KeyMechanism>§type: KeyType§length: Option<i32>§id: Option<String>§restrictions: Option<Box<KeyRestrictions>>Implementations§
source§impl KeyGenerateRequestData
impl KeyGenerateRequestData
pub fn new( mechanisms: Vec<KeyMechanism>, type: KeyType ) -> KeyGenerateRequestData
Trait Implementations§
source§impl Clone for KeyGenerateRequestData
impl Clone for KeyGenerateRequestData
source§fn clone(&self) -> KeyGenerateRequestData
fn clone(&self) -> KeyGenerateRequestData
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 KeyGenerateRequestData
impl Debug for KeyGenerateRequestData
source§impl Default for KeyGenerateRequestData
impl Default for KeyGenerateRequestData
source§fn default() -> KeyGenerateRequestData
fn default() -> KeyGenerateRequestData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for KeyGenerateRequestData
impl<'de> Deserialize<'de> for KeyGenerateRequestData
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 KeyGenerateRequestData
impl PartialEq for KeyGenerateRequestData
source§fn eq(&self, other: &KeyGenerateRequestData) -> bool
fn eq(&self, other: &KeyGenerateRequestData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for KeyGenerateRequestData
impl Serialize for KeyGenerateRequestData
impl StructuralPartialEq for KeyGenerateRequestData
Auto Trait Implementations§
impl RefUnwindSafe for KeyGenerateRequestData
impl Send for KeyGenerateRequestData
impl Sync for KeyGenerateRequestData
impl Unpin for KeyGenerateRequestData
impl UnwindSafe for KeyGenerateRequestData
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