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