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