pub struct NegotiationState {
pub status: NegotiationStatus,
pub tree: Vec<NegotiationTreeNode>,
pub orphan_proposals: Vec<NegotiationProposal>,
pub orphan_rejections: Vec<NegotiationRejection>,
pub orphan_forfeits: Vec<NegotiationForfeit>,
}Fields§
§status: NegotiationStatus§tree: Vec<NegotiationTreeNode>§orphan_proposals: Vec<NegotiationProposal>§orphan_rejections: Vec<NegotiationRejection>§orphan_forfeits: Vec<NegotiationForfeit>Trait Implementations§
Source§impl Clone for NegotiationState
impl Clone for NegotiationState
Source§fn clone(&self) -> NegotiationState
fn clone(&self) -> NegotiationState
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 NegotiationState
impl Debug for NegotiationState
Source§impl Default for NegotiationState
impl Default for NegotiationState
Source§impl<'de> Deserialize<'de> for NegotiationState
impl<'de> Deserialize<'de> for NegotiationState
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 NegotiationState
impl PartialEq for NegotiationState
Source§impl Serialize for NegotiationState
impl Serialize for NegotiationState
impl Message for NegotiationState
impl StructuralPartialEq for NegotiationState
Auto Trait Implementations§
impl Freeze for NegotiationState
impl RefUnwindSafe for NegotiationState
impl Send for NegotiationState
impl Sync for NegotiationState
impl Unpin for NegotiationState
impl UnwindSafe for NegotiationState
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