Struct pkcs11_uri::PathAttributes
source · [−]pub struct PathAttributes {Show 13 fields
pub library_description: Option<String>,
pub library_manufacturer: Option<String>,
pub library_version: Option<Version>,
pub slot_description: Option<String>,
pub slot_id: Option<SlotId>,
pub slot_manufacturer: Option<String>,
pub token_manufacturer: Option<String>,
pub token_model: Option<String>,
pub token_label: Option<String>,
pub token_serial: Option<[u8; 16]>,
pub object_class: Option<ObjectClass>,
pub object_id: Option<Vec<u8>>,
pub object_label: Option<String>,
}
Fields
library_description: Option<String>
library_manufacturer: Option<String>
library_version: Option<Version>
slot_description: Option<String>
slot_id: Option<SlotId>
slot_manufacturer: Option<String>
token_manufacturer: Option<String>
token_model: Option<String>
token_label: Option<String>
token_serial: Option<[u8; 16]>
object_class: Option<ObjectClass>
object_id: Option<Vec<u8>>
object_label: Option<String>
Trait Implementations
sourceimpl Clone for PathAttributes
impl Clone for PathAttributes
sourcefn clone(&self) -> PathAttributes
fn clone(&self) -> PathAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PathAttributes
impl Debug for PathAttributes
sourceimpl Default for PathAttributes
impl Default for PathAttributes
sourcefn default() -> PathAttributes
fn default() -> PathAttributes
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PathAttributes> for PathAttributes
impl PartialEq<PathAttributes> for PathAttributes
sourcefn eq(&self, other: &PathAttributes) -> bool
fn eq(&self, other: &PathAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PathAttributes) -> bool
fn ne(&self, other: &PathAttributes) -> bool
This method tests for !=
.
sourceimpl<'a> TryFrom<&'a str> for PathAttributes
impl<'a> TryFrom<&'a str> for PathAttributes
impl StructuralPartialEq for PathAttributes
Auto Trait Implementations
impl RefUnwindSafe for PathAttributes
impl Send for PathAttributes
impl Sync for PathAttributes
impl Unpin for PathAttributes
impl UnwindSafe for PathAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more