pub struct TemplateAttribute(pub Option<Vec<Name>>, pub Option<Vec<Attribute>>);
Expand description
See KMIP 1.0 section 2.1.8 Template-Attribute Structures.
Tuple Fields§
§0: Option<Vec<Name>>
§1: Option<Vec<Attribute>>
Implementations§
Trait Implementations§
Source§impl Clone for TemplateAttribute
impl Clone for TemplateAttribute
Source§fn clone(&self) -> TemplateAttribute
fn clone(&self) -> TemplateAttribute
Returns a duplicate 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 TemplateAttribute
impl Debug for TemplateAttribute
Source§impl PartialEq for TemplateAttribute
impl PartialEq for TemplateAttribute
Source§impl Serialize for TemplateAttribute
impl Serialize for TemplateAttribute
impl Eq for TemplateAttribute
impl StructuralPartialEq for TemplateAttribute
Auto Trait Implementations§
impl Freeze for TemplateAttribute
impl RefUnwindSafe for TemplateAttribute
impl Send for TemplateAttribute
impl Sync for TemplateAttribute
impl Unpin for TemplateAttribute
impl UnwindSafe for TemplateAttribute
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