pub struct NegotiationKey {
pub participant: u64,
pub version: u64,
}Fields§
§participant: u64§version: u64Trait Implementations§
Source§impl Clone for NegotiationKey
impl Clone for NegotiationKey
Source§fn clone(&self) -> NegotiationKey
fn clone(&self) -> NegotiationKey
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 NegotiationKey
impl Debug for NegotiationKey
Source§impl Default for NegotiationKey
impl Default for NegotiationKey
Source§impl<'de> Deserialize<'de> for NegotiationKey
impl<'de> Deserialize<'de> for NegotiationKey
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 NegotiationKey
impl PartialEq for NegotiationKey
Source§impl Serialize for NegotiationKey
impl Serialize for NegotiationKey
impl Message for NegotiationKey
impl StructuralPartialEq for NegotiationKey
Auto Trait Implementations§
impl Freeze for NegotiationKey
impl RefUnwindSafe for NegotiationKey
impl Send for NegotiationKey
impl Sync for NegotiationKey
impl Unpin for NegotiationKey
impl UnwindSafe for NegotiationKey
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