[−][src]Type Definition sequoia_openpgp::cert::amalgamation::UserAttributeAmalgamation
type UserAttributeAmalgamation<'a> = ComponentAmalgamation<'a, UserAttribute>;
A User Attribute and its associated data.
A specialized version of ComponentAmalgamation
.
Implementations
impl<'a> UserAttributeAmalgamation<'a>
[src]
pub fn user_attribute(&self) -> &'a UserAttribute
[src]
Returns a reference to the User Attribute.
Note: although ComponentAmalgamation<UserAttribute>
derefs
to a &UserAttribute
(via &ComponentBundle
), this method
provides a more accurate lifetime, which is helpful when
returning the reference from a function. See the module's
documentation for more details.