pub struct ResponsesGetBlockByHash { /* private fields */ }
Implementations§
Source§impl ResponsesGetBlockByHash
impl ResponsesGetBlockByHash
pub fn new() -> ResponsesGetBlockByHash
pub fn set_code(&mut self, code: i32)
pub fn with_code(self, code: i32) -> ResponsesGetBlockByHash
pub fn code(&self) -> Option<&i32>
pub fn reset_code(&mut self)
pub fn set_data(&mut self, data: GithubComSatstreamSsUtilsRpcBlock)
pub fn with_data( self, data: GithubComSatstreamSsUtilsRpcBlock, ) -> ResponsesGetBlockByHash
pub fn data(&self) -> Option<&GithubComSatstreamSsUtilsRpcBlock>
pub fn reset_data(&mut self)
pub fn set_msg(&mut self, msg: String)
pub fn with_msg(self, msg: String) -> ResponsesGetBlockByHash
pub fn msg(&self) -> Option<&String>
pub fn reset_msg(&mut self)
Trait Implementations§
Source§impl Debug for ResponsesGetBlockByHash
impl Debug for ResponsesGetBlockByHash
Source§impl<'de> Deserialize<'de> for ResponsesGetBlockByHash
impl<'de> Deserialize<'de> for ResponsesGetBlockByHash
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 ResponsesGetBlockByHash
impl RefUnwindSafe for ResponsesGetBlockByHash
impl Send for ResponsesGetBlockByHash
impl Sync for ResponsesGetBlockByHash
impl Unpin for ResponsesGetBlockByHash
impl UnwindSafe for ResponsesGetBlockByHash
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