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