pub struct BatchItem(pub Operation, pub Option<UniqueBatchItemID>, pub RequestPayload);Expand description
See KMIP 1.0 section 6.15 Batch Item.
Tuple Fields§
§0: Operation§1: Option<UniqueBatchItemID>§2: RequestPayloadImplementations§
Source§impl BatchItem
impl BatchItem
pub fn operation(&self) -> &Operation
pub fn unique_batch_item_id(&self) -> Option<&UniqueBatchItemID>
pub fn request_payload(&self) -> &RequestPayload
Source§impl BatchItem
impl BatchItem
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 BatchItem
impl StructuralPartialEq for BatchItem
Auto Trait Implementations§
impl Forget for BatchItem
impl Freeze for BatchItem
impl Move for BatchItem
impl RefUnwindSafe for BatchItem
impl Send for BatchItem
impl Sync for BatchItem
impl Unpin for BatchItem
impl UnsafeUnpin for BatchItem
impl UnwindSafe for BatchItem
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