pub struct NegotiationResult {
pub version: u32,
pub capabilities: Vec<String>,
pub fallback_reason: Option<String>,
pub service_info: HashMap<String, String>,
}Expand description
Version negotiation result
Fields§
§version: u32§capabilities: Vec<String>§fallback_reason: Option<String>§service_info: HashMap<String, String>Trait Implementations§
Source§impl Clone for NegotiationResult
impl Clone for NegotiationResult
Source§fn clone(&self) -> NegotiationResult
fn clone(&self) -> NegotiationResult
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 Debug for NegotiationResult
impl Debug for NegotiationResult
Source§impl<'de> Deserialize<'de> for NegotiationResult
impl<'de> Deserialize<'de> for NegotiationResult
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
Auto Trait Implementations§
impl Freeze for NegotiationResult
impl RefUnwindSafe for NegotiationResult
impl Send for NegotiationResult
impl Sync for NegotiationResult
impl Unpin for NegotiationResult
impl UnsafeUnpin for NegotiationResult
impl UnwindSafe for NegotiationResult
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