pub struct SuspendRecord {
pub turn: u32,
pub reason: String,
pub pending_calls: Vec<String>,
}Fields§
§turn: u32§reason: String§pending_calls: Vec<String>Trait Implementations§
Source§impl Clone for SuspendRecord
impl Clone for SuspendRecord
Source§fn clone(&self) -> SuspendRecord
fn clone(&self) -> SuspendRecord
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 SuspendRecord
impl Debug for SuspendRecord
Source§impl<'de> Deserialize<'de> for SuspendRecord
impl<'de> Deserialize<'de> for SuspendRecord
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
impl Eq for SuspendRecord
Source§impl PartialEq for SuspendRecord
impl PartialEq for SuspendRecord
Source§fn eq(&self, other: &SuspendRecord) -> bool
fn eq(&self, other: &SuspendRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SuspendRecord
impl Serialize for SuspendRecord
impl StructuralPartialEq for SuspendRecord
Auto Trait Implementations§
impl Freeze for SuspendRecord
impl RefUnwindSafe for SuspendRecord
impl Send for SuspendRecord
impl Sync for SuspendRecord
impl Unpin for SuspendRecord
impl UnsafeUnpin for SuspendRecord
impl UnwindSafe for SuspendRecord
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