pub struct GithubComSatstreamSsUtilsRpcBlock { /* private fields */ }
Implementations§
Source§impl GithubComSatstreamSsUtilsRpcBlock
impl GithubComSatstreamSsUtilsRpcBlock
pub fn new() -> GithubComSatstreamSsUtilsRpcBlock
pub fn set_bits(&mut self, bits: String)
pub fn with_bits(self, bits: String) -> GithubComSatstreamSsUtilsRpcBlock
pub fn bits(&self) -> Option<&String>
pub fn reset_bits(&mut self)
pub fn set_chainwork(&mut self, chainwork: String)
pub fn with_chainwork( self, chainwork: String, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn chainwork(&self) -> Option<&String>
pub fn reset_chainwork(&mut self)
pub fn set_confirmations(&mut self, confirmations: i32)
pub fn with_confirmations( self, confirmations: i32, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn confirmations(&self) -> Option<&i32>
pub fn reset_confirmations(&mut self)
pub fn set_difficulty(&mut self, difficulty: f32)
pub fn with_difficulty( self, difficulty: f32, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn difficulty(&self) -> Option<&f32>
pub fn reset_difficulty(&mut self)
pub fn set_hash(&mut self, hash: String)
pub fn with_hash(self, hash: String) -> GithubComSatstreamSsUtilsRpcBlock
pub fn hash(&self) -> Option<&String>
pub fn reset_hash(&mut self)
pub fn set_height(&mut self, height: i32)
pub fn with_height(self, height: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn height(&self) -> Option<&i32>
pub fn reset_height(&mut self)
pub fn set_mediantime(&mut self, mediantime: i32)
pub fn with_mediantime( self, mediantime: i32, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn mediantime(&self) -> Option<&i32>
pub fn reset_mediantime(&mut self)
pub fn set_merkleroot(&mut self, merkleroot: String)
pub fn with_merkleroot( self, merkleroot: String, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn merkleroot(&self) -> Option<&String>
pub fn reset_merkleroot(&mut self)
pub fn set_n_tx(&mut self, n_tx: i32)
pub fn with_n_tx(self, n_tx: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn n_tx(&self) -> Option<&i32>
pub fn reset_n_tx(&mut self)
pub fn set_nonce(&mut self, nonce: i32)
pub fn with_nonce(self, nonce: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn nonce(&self) -> Option<&i32>
pub fn reset_nonce(&mut self)
pub fn set_previousblockhash(&mut self, previousblockhash: String)
pub fn with_previousblockhash( self, previousblockhash: String, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn previousblockhash(&self) -> Option<&String>
pub fn reset_previousblockhash(&mut self)
pub fn set_size(&mut self, size: i32)
pub fn with_size(self, size: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn size(&self) -> Option<&i32>
pub fn reset_size(&mut self)
pub fn set_stripped_size(&mut self, stripped_size: i32)
pub fn with_stripped_size( self, stripped_size: i32, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn stripped_size(&self) -> Option<&i32>
pub fn reset_stripped_size(&mut self)
pub fn set_time(&mut self, time: i32)
pub fn with_time(self, time: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn time(&self) -> Option<&i32>
pub fn reset_time(&mut self)
pub fn set_tx(&mut self, tx: Vec<GithubComSatstreamSsUtilsRpcBtcTx>)
pub fn with_tx( self, tx: Vec<GithubComSatstreamSsUtilsRpcBtcTx>, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn tx(&self) -> Option<&Vec<GithubComSatstreamSsUtilsRpcBtcTx>>
pub fn reset_tx(&mut self)
pub fn set_version(&mut self, version: i32)
pub fn with_version(self, version: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn version(&self) -> Option<&i32>
pub fn reset_version(&mut self)
pub fn set_version_hex(&mut self, version_hex: String)
pub fn with_version_hex( self, version_hex: String, ) -> GithubComSatstreamSsUtilsRpcBlock
pub fn version_hex(&self) -> Option<&String>
pub fn reset_version_hex(&mut self)
pub fn set_weight(&mut self, weight: i32)
pub fn with_weight(self, weight: i32) -> GithubComSatstreamSsUtilsRpcBlock
pub fn weight(&self) -> Option<&i32>
pub fn reset_weight(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GithubComSatstreamSsUtilsRpcBlock
impl<'de> Deserialize<'de> for GithubComSatstreamSsUtilsRpcBlock
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 GithubComSatstreamSsUtilsRpcBlock
impl RefUnwindSafe for GithubComSatstreamSsUtilsRpcBlock
impl Send for GithubComSatstreamSsUtilsRpcBlock
impl Sync for GithubComSatstreamSsUtilsRpcBlock
impl Unpin for GithubComSatstreamSsUtilsRpcBlock
impl UnwindSafe for GithubComSatstreamSsUtilsRpcBlock
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