pub struct KeyValue {
pub key_material: KeyMaterial,
pub attributes: Option<Vec<Attribute>>,
}Expand description
See KMIP 1.0 section 2.1.4 Key Value.
Fields§
§key_material: KeyMaterial§attributes: Option<Vec<Attribute>>Implementations§
Source§impl KeyValue
impl KeyValue
pub const TAG: Tag
pub const KEY_MATERIAL_TAG: Tag
pub fn fast_scan( scanner: &mut FastScanner<'_>, format: &KeyFormatType, ) -> Result<Self, FastScanError>
pub fn fast_scan_opt( scanner: &mut FastScanner<'_>, format: &KeyFormatType, ) -> Result<Option<Self>, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
Trait Implementations§
impl Eq for KeyValue
impl StructuralPartialEq for KeyValue
Auto Trait Implementations§
impl Forget for KeyValue
impl Freeze for KeyValue
impl Move for KeyValue
impl RefUnwindSafe for KeyValue
impl Send for KeyValue
impl Sync for KeyValue
impl Unpin for KeyValue
impl UnsafeUnpin for KeyValue
impl UnwindSafe for KeyValue
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