pub struct KeyTransportGuidance {
pub mode: KeyTransportMode,
pub key_material_origin: String,
pub stable_key_reference_preferred: bool,
pub raw_key_delivery_forbidden: bool,
pub public_key_distribution: Option<String>,
pub exchange_algorithm: Option<String>,
}Fields§
§mode: KeyTransportMode§key_material_origin: String§stable_key_reference_preferred: bool§raw_key_delivery_forbidden: bool§public_key_distribution: Option<String>§exchange_algorithm: Option<String>Trait Implementations§
Source§impl Clone for KeyTransportGuidance
impl Clone for KeyTransportGuidance
Source§fn clone(&self) -> KeyTransportGuidance
fn clone(&self) -> KeyTransportGuidance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyTransportGuidance
impl Debug for KeyTransportGuidance
Source§impl<'de> Deserialize<'de> for KeyTransportGuidance
impl<'de> Deserialize<'de> for KeyTransportGuidance
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 KeyTransportGuidance
impl PartialEq for KeyTransportGuidance
Source§fn eq(&self, other: &KeyTransportGuidance) -> bool
fn eq(&self, other: &KeyTransportGuidance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KeyTransportGuidance
impl Serialize for KeyTransportGuidance
impl Eq for KeyTransportGuidance
impl StructuralPartialEq for KeyTransportGuidance
Auto Trait Implementations§
impl Freeze for KeyTransportGuidance
impl RefUnwindSafe for KeyTransportGuidance
impl Send for KeyTransportGuidance
impl Sync for KeyTransportGuidance
impl Unpin for KeyTransportGuidance
impl UnsafeUnpin for KeyTransportGuidance
impl UnwindSafe for KeyTransportGuidance
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