pub struct PostA2a200Response {
pub jsonrpc: Jsonrpc,
pub id: String,
pub result: Option<Value>,
pub error: Option<Box<PostA2a200ResponseError>>,
}Fields§
§jsonrpc: Jsonrpc§id: String§result: Option<Value>Success result containing task information or task details
error: Option<Box<PostA2a200ResponseError>>Implementations§
Source§impl PostA2a200Response
impl PostA2a200Response
pub fn new(jsonrpc: Jsonrpc, id: String) -> PostA2a200Response
Trait Implementations§
Source§impl Clone for PostA2a200Response
impl Clone for PostA2a200Response
Source§fn clone(&self) -> PostA2a200Response
fn clone(&self) -> PostA2a200Response
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 PostA2a200Response
impl Debug for PostA2a200Response
Source§impl Default for PostA2a200Response
impl Default for PostA2a200Response
Source§fn default() -> PostA2a200Response
fn default() -> PostA2a200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostA2a200Response
impl<'de> Deserialize<'de> for PostA2a200Response
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 PostA2a200Response
impl PartialEq for PostA2a200Response
Source§impl Serialize for PostA2a200Response
impl Serialize for PostA2a200Response
impl StructuralPartialEq for PostA2a200Response
Auto Trait Implementations§
impl Freeze for PostA2a200Response
impl RefUnwindSafe for PostA2a200Response
impl Send for PostA2a200Response
impl Sync for PostA2a200Response
impl Unpin for PostA2a200Response
impl UnwindSafe for PostA2a200Response
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