pub struct InlineResponse40135 {
pub api_version: String,
pub request_id: String,
pub context: Option<String>,
pub error: Box<GetLastMinedBlockE401>,
}Fields§
§api_version: StringSpecifies the version of the API that incorporates this endpoint.
request_id: StringDefines the ID of the request. The requestId is generated by Crypto APIs and it’s unique for every request.
context: Option<String>In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.
error: Box<GetLastMinedBlockE401>Implementations§
Source§impl InlineResponse40135
impl InlineResponse40135
pub fn new( api_version: String, request_id: String, error: GetLastMinedBlockE401, ) -> InlineResponse40135
Trait Implementations§
Source§impl Clone for InlineResponse40135
impl Clone for InlineResponse40135
Source§fn clone(&self) -> InlineResponse40135
fn clone(&self) -> InlineResponse40135
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineResponse40135
impl Debug for InlineResponse40135
Source§impl<'de> Deserialize<'de> for InlineResponse40135
impl<'de> Deserialize<'de> for InlineResponse40135
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
Source§impl PartialEq for InlineResponse40135
impl PartialEq for InlineResponse40135
Source§impl Serialize for InlineResponse40135
impl Serialize for InlineResponse40135
impl StructuralPartialEq for InlineResponse40135
Auto Trait Implementations§
impl Freeze for InlineResponse40135
impl RefUnwindSafe for InlineResponse40135
impl Send for InlineResponse40135
impl Sync for InlineResponse40135
impl Unpin for InlineResponse40135
impl UnwindSafe for InlineResponse40135
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