pub struct PublicKeyTemplateAttribute { /* private fields */ }Expand description
See KMIP 1.0 section 2.1.8 Template-Attribute Structures.
Implementations§
Source§impl PublicKeyTemplateAttribute
impl PublicKeyTemplateAttribute
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 PublicKeyTemplateAttribute
impl PublicKeyTemplateAttribute
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 PublicKeyTemplateAttribute
impl Clone for PublicKeyTemplateAttribute
Source§impl Debug for PublicKeyTemplateAttribute
impl Debug for PublicKeyTemplateAttribute
impl Eq for PublicKeyTemplateAttribute
impl StructuralPartialEq for PublicKeyTemplateAttribute
Auto Trait Implementations§
impl Forget for PublicKeyTemplateAttribute
impl Freeze for PublicKeyTemplateAttribute
impl RefUnwindSafe for PublicKeyTemplateAttribute
impl Send for PublicKeyTemplateAttribute
impl Sync for PublicKeyTemplateAttribute
impl Unpin for PublicKeyTemplateAttribute
impl UnsafeUnpin for PublicKeyTemplateAttribute
impl UnwindSafe for PublicKeyTemplateAttribute
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