pub struct ResponseHeader {
pub protocol_version: ProtocolVersion,
pub timestamp: i64,
pub batch_count: i32,
pub nonce: Option<Nonce>,
pub attestation_type: Option<Vec<AttestationType>>,
pub client_correlation_value: Option<String>,
pub server_correlation_value: Option<String>,
}Expand description
See KMIP 1.0 section 7.2 Operations.
Fields§
§protocol_version: ProtocolVersion§timestamp: i64§batch_count: i32§nonce: Option<Nonce>§attestation_type: Option<Vec<AttestationType>>§client_correlation_value: Option<String>§server_correlation_value: Option<String>Implementations§
Source§impl ResponseHeader
impl ResponseHeader
pub const TAG: Tag
pub const TIMESTAMP_TAG: Tag
pub const BATCH_COUNT_TAG: Tag
pub const CLIENT_CORRELATION_VALUE_TAG: Tag
pub const SERVER_CORRELATION_VALUE_TAG: Tag
pub fn fast_scan(scanner: &mut FastScanner<'_>) -> Result<Self, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
Trait Implementations§
Source§impl Clone for ResponseHeader
impl Clone for ResponseHeader
Source§impl Debug for ResponseHeader
impl Debug for ResponseHeader
impl Eq for ResponseHeader
Source§impl PartialEq for ResponseHeader
impl PartialEq for ResponseHeader
impl StructuralPartialEq for ResponseHeader
Auto Trait Implementations§
impl Forget for ResponseHeader
impl Freeze for ResponseHeader
impl RefUnwindSafe for ResponseHeader
impl Send for ResponseHeader
impl Sync for ResponseHeader
impl Unpin for ResponseHeader
impl UnsafeUnpin for ResponseHeader
impl UnwindSafe for ResponseHeader
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