pub struct StateInfo {
pub nonce: u64,
pub txid: Txid,
pub coin_reserved: Vec<CoinBalance>,
pub btc_reserved: u64,
pub utxos: Vec<Utxo>,
pub attributes: String,
}Expand description
The essential information about the pool state.
Fields§
§nonce: u64§txid: Txid§coin_reserved: Vec<CoinBalance>§btc_reserved: u64§utxos: Vec<Utxo>§attributes: StringTrait Implementations§
Source§impl CandidType for StateInfo
impl CandidType for StateInfo
Source§impl<'de> Deserialize<'de> for StateInfo
impl<'de> Deserialize<'de> for StateInfo
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 StateInfo
impl StructuralPartialEq for StateInfo
Auto Trait Implementations§
impl Freeze for StateInfo
impl RefUnwindSafe for StateInfo
impl Send for StateInfo
impl Sync for StateInfo
impl Unpin for StateInfo
impl UnwindSafe for StateInfo
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