pub struct AttributeName(pub String);Expand description
See KMIP 1.0 section 2.1.1 Attribute.
Tuple Fields§
§0: StringImplementations§
Source§impl AttributeName
impl AttributeName
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 AttributeName
impl Clone for AttributeName
Source§impl Debug for AttributeName
impl Debug for AttributeName
impl Eq for AttributeName
Source§impl PartialEq for AttributeName
impl PartialEq for AttributeName
Source§impl PartialEq<str> for AttributeName
impl PartialEq<str> for AttributeName
impl StructuralPartialEq for AttributeName
Auto Trait Implementations§
impl Forget for AttributeName
impl Freeze for AttributeName
impl Move for AttributeName
impl RefUnwindSafe for AttributeName
impl Send for AttributeName
impl Sync for AttributeName
impl Unpin for AttributeName
impl UnsafeUnpin for AttributeName
impl UnwindSafe for AttributeName
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