pub struct DiscoverVersionsResponsePayload {
pub supported_versions: Option<Vec<ProtocolVersion>>,
}
Expand description
See KMIP 1.1 section 4.26 Discover Versions.
Fields§
§supported_versions: Option<Vec<ProtocolVersion>>
Trait Implementations§
Source§impl Clone for DiscoverVersionsResponsePayload
impl Clone for DiscoverVersionsResponsePayload
Source§fn clone(&self) -> DiscoverVersionsResponsePayload
fn clone(&self) -> DiscoverVersionsResponsePayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for DiscoverVersionsResponsePayload
impl<'de> Deserialize<'de> for DiscoverVersionsResponsePayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DiscoverVersionsResponsePayload
impl PartialEq for DiscoverVersionsResponsePayload
Source§fn eq(&self, other: &DiscoverVersionsResponsePayload) -> bool
fn eq(&self, other: &DiscoverVersionsResponsePayload) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for DiscoverVersionsResponsePayload
impl StructuralPartialEq for DiscoverVersionsResponsePayload
Auto Trait Implementations§
impl Freeze for DiscoverVersionsResponsePayload
impl RefUnwindSafe for DiscoverVersionsResponsePayload
impl Send for DiscoverVersionsResponsePayload
impl Sync for DiscoverVersionsResponsePayload
impl Unpin for DiscoverVersionsResponsePayload
impl UnwindSafe for DiscoverVersionsResponsePayload
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