pub struct StateChannelOpenV1 {
pub id: String,
pub fee: u64,
pub oui: u64,
pub hash: String,
pub nonce: u64,
pub owner: String,
pub amount: Hnt,
pub expire_within: u64,
}
Fields§
§id: String
§fee: u64
§oui: u64
§hash: String
§nonce: u64
§owner: String
§amount: Hnt
§expire_within: u64
Trait Implementations§
Source§impl Clone for StateChannelOpenV1
impl Clone for StateChannelOpenV1
Source§fn clone(&self) -> StateChannelOpenV1
fn clone(&self) -> StateChannelOpenV1
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 StateChannelOpenV1
impl Debug for StateChannelOpenV1
Source§impl<'de> Deserialize<'de> for StateChannelOpenV1
impl<'de> Deserialize<'de> for StateChannelOpenV1
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 StateChannelOpenV1
impl RefUnwindSafe for StateChannelOpenV1
impl Send for StateChannelOpenV1
impl Sync for StateChannelOpenV1
impl Unpin for StateChannelOpenV1
impl UnwindSafe for StateChannelOpenV1
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