pub struct GetCompressedAccountV2PostRequest {
pub id: Id,
pub jsonrpc: Jsonrpc,
pub method: Method,
pub params: Box<GetCompressedAccountPostRequestParams>,
}
Fields§
§id: Id
An ID to identify the request.
jsonrpc: Jsonrpc
The version of the JSON-RPC protocol.
method: Method
The name of the method to invoke.
params: Box<GetCompressedAccountPostRequestParams>
Implementations§
Source§impl GetCompressedAccountV2PostRequest
impl GetCompressedAccountV2PostRequest
pub fn new( id: Id, jsonrpc: Jsonrpc, method: Method, params: GetCompressedAccountPostRequestParams, ) -> GetCompressedAccountV2PostRequest
Trait Implementations§
Source§impl Clone for GetCompressedAccountV2PostRequest
impl Clone for GetCompressedAccountV2PostRequest
Source§fn clone(&self) -> GetCompressedAccountV2PostRequest
fn clone(&self) -> GetCompressedAccountV2PostRequest
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 Default for GetCompressedAccountV2PostRequest
impl Default for GetCompressedAccountV2PostRequest
Source§fn default() -> GetCompressedAccountV2PostRequest
fn default() -> GetCompressedAccountV2PostRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCompressedAccountV2PostRequest
impl<'de> Deserialize<'de> for GetCompressedAccountV2PostRequest
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 GetCompressedAccountV2PostRequest
impl PartialEq for GetCompressedAccountV2PostRequest
Source§fn eq(&self, other: &GetCompressedAccountV2PostRequest) -> bool
fn eq(&self, other: &GetCompressedAccountV2PostRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetCompressedAccountV2PostRequest
Auto Trait Implementations§
impl Freeze for GetCompressedAccountV2PostRequest
impl RefUnwindSafe for GetCompressedAccountV2PostRequest
impl Send for GetCompressedAccountV2PostRequest
impl Sync for GetCompressedAccountV2PostRequest
impl Unpin for GetCompressedAccountV2PostRequest
impl UnwindSafe for GetCompressedAccountV2PostRequest
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