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