pub struct PrivateKeyTemplateAttribute { /* private fields */ }Expand description
See KMIP 1.0 section 2.1.8 Template-Attribute Structures.
Implementations§
Source§impl PrivateKeyTemplateAttribute
impl PrivateKeyTemplateAttribute
pub fn new(attributes: Vec<Attribute>) -> Self
pub fn new_with_names(attributes: Vec<Attribute>, names: Vec<Name>) -> Self
pub fn with_template_name(self, template_name: &'static str) -> Self
pub fn template_names(&self) -> &[Name]
pub fn attributes(&self) -> &[Attribute]
Source§impl PrivateKeyTemplateAttribute
impl PrivateKeyTemplateAttribute
pub const TAG: Tag
pub fn fast_scan(scanner: &mut FastScanner<'_>) -> Result<Self, FastScanError>
pub fn fast_scan_with( scanner: &mut FastScanner<'_>, tag: Tag, ) -> Result<Self, FastScanError>
pub fn fast_scan_opt( scanner: &mut FastScanner<'_>, ) -> Result<Option<Self>, FastScanError>
pub fn fast_scan_opt_with( scanner: &mut FastScanner<'_>, tag: Tag, ) -> Result<Option<Self>, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
pub fn format_with( &self, formatter: &mut Formatter<'_>, tag: Tag, ) -> FormatResult
Trait Implementations§
Source§impl Clone for PrivateKeyTemplateAttribute
impl Clone for PrivateKeyTemplateAttribute
Source§impl Debug for PrivateKeyTemplateAttribute
impl Debug for PrivateKeyTemplateAttribute
impl Eq for PrivateKeyTemplateAttribute
impl StructuralPartialEq for PrivateKeyTemplateAttribute
Auto Trait Implementations§
impl Forget for PrivateKeyTemplateAttribute
impl Freeze for PrivateKeyTemplateAttribute
impl RefUnwindSafe for PrivateKeyTemplateAttribute
impl Send for PrivateKeyTemplateAttribute
impl Sync for PrivateKeyTemplateAttribute
impl Unpin for PrivateKeyTemplateAttribute
impl UnsafeUnpin for PrivateKeyTemplateAttribute
impl UnwindSafe for PrivateKeyTemplateAttribute
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