Struct avalanche_types::jsonrpc::RawIssueTxResponse
source · [−]pub struct RawIssueTxResponse {
pub jsonrpc: String,
pub id: u32,
pub result: Option<RawIssueTxResult>,
pub error: Option<ResponseError>,
}
Expand description
ref. https://docs.avax.network/build/avalanchego-apis/p-chain/#platformgetcurrentvalidators
Fields
jsonrpc: String
id: u32
result: Option<RawIssueTxResult>
error: Option<ResponseError>
Implementations
sourceimpl RawIssueTxResponse
impl RawIssueTxResponse
pub fn default() -> Self
pub fn convert(&self) -> IssueTxResponse
Trait Implementations
sourceimpl Clone for RawIssueTxResponse
impl Clone for RawIssueTxResponse
sourcefn clone(&self) -> RawIssueTxResponse
fn clone(&self) -> RawIssueTxResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RawIssueTxResponse
impl Debug for RawIssueTxResponse
sourceimpl Default for RawIssueTxResponse
impl Default for RawIssueTxResponse
sourceimpl<'de> Deserialize<'de> for RawIssueTxResponse
impl<'de> Deserialize<'de> for RawIssueTxResponse
sourcefn 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
sourceimpl PartialEq<RawIssueTxResponse> for RawIssueTxResponse
impl PartialEq<RawIssueTxResponse> for RawIssueTxResponse
sourcefn eq(&self, other: &RawIssueTxResponse) -> bool
fn eq(&self, other: &RawIssueTxResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RawIssueTxResponse) -> bool
fn ne(&self, other: &RawIssueTxResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for RawIssueTxResponse
impl Serialize for RawIssueTxResponse
impl Eq for RawIssueTxResponse
impl StructuralEq for RawIssueTxResponse
impl StructuralPartialEq for RawIssueTxResponse
Auto Trait Implementations
impl RefUnwindSafe for RawIssueTxResponse
impl Send for RawIssueTxResponse
impl Sync for RawIssueTxResponse
impl Unpin for RawIssueTxResponse
impl UnwindSafe for RawIssueTxResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.