pub struct TemplateAttribute {
pub name: KeyMaterial,
pub attributes: Option<Vec<Attribute>>,
}
Expand description
See KMIP 1.0 section 2.1.8 Template Attribute.
Fields§
§name: KeyMaterial
§attributes: Option<Vec<Attribute>>
Trait Implementations§
Source§impl Clone for TemplateAttribute
impl Clone for TemplateAttribute
Source§fn clone(&self) -> TemplateAttribute
fn clone(&self) -> TemplateAttribute
Returns a copy 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<'de> Deserialize<'de> for TemplateAttribute
impl<'de> Deserialize<'de> for TemplateAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TemplateAttribute
impl PartialEq 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