pub struct StateChannel {
pub summaries: Vec<StateChannelSummary>,
pub state: String,
pub root_hash: String,
pub owner: String,
pub nonce: u64,
pub id: String,
pub expire_at_block: u64,
}
Fields§
§summaries: Vec<StateChannelSummary>
§state: String
§root_hash: String
§owner: String
§nonce: u64
§id: String
§expire_at_block: u64
Trait Implementations§
Source§impl Clone for StateChannel
impl Clone for StateChannel
Source§fn clone(&self) -> StateChannel
fn clone(&self) -> StateChannel
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 StateChannel
impl Debug for StateChannel
Source§impl<'de> Deserialize<'de> for StateChannel
impl<'de> Deserialize<'de> for StateChannel
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 StateChannel
impl RefUnwindSafe for StateChannel
impl Send for StateChannel
impl Sync for StateChannel
impl Unpin for StateChannel
impl UnwindSafe for StateChannel
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