Struct cryptoapis::models::block_mined::BlockMined [−][src]
pub struct BlockMined { pub api_version: String, pub reference_id: String, pub idempotency_key: String, pub data: Box<BlockMinedData>, }
Fields
api_version: String
Expand description
Specifies the version of the API that incorporates this endpoint.
reference_id: String
Expand description
Represents a unique identifier that serves as reference to the specific request which prompts a callback, e.g. Blockchain Events Subscription, Blockchain Automation, etc.
idempotency_key: String
Expand description
Specifies a unique ID generated by the system and attached to each callback. It is used by the server to recognize consecutive requests with the same data with the purpose not to perform the same operation twice.
data: Box<BlockMinedData>
Implementations
impl BlockMined
[src]
impl BlockMined
[src]pub fn new(
api_version: String,
reference_id: String,
idempotency_key: String,
data: BlockMinedData
) -> BlockMined
[src]
api_version: String,
reference_id: String,
idempotency_key: String,
data: BlockMinedData
) -> BlockMined
Trait Implementations
impl Clone for BlockMined
[src]
impl Clone for BlockMined
[src]fn clone(&self) -> BlockMined
[src]
fn clone(&self) -> BlockMined
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for BlockMined
[src]
impl Debug for BlockMined
[src]impl<'de> Deserialize<'de> for BlockMined
[src]
impl<'de> Deserialize<'de> for BlockMined
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<BlockMined> for BlockMined
[src]
impl PartialEq<BlockMined> for BlockMined
[src]fn eq(&self, other: &BlockMined) -> bool
[src]
fn eq(&self, other: &BlockMined) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &BlockMined) -> bool
[src]
fn ne(&self, other: &BlockMined) -> bool
[src]This method tests for !=
.
impl Serialize for BlockMined
[src]
impl Serialize for BlockMined
[src]impl StructuralPartialEq for BlockMined
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockMined
impl Send for BlockMined
impl Sync for BlockMined
impl Unpin for BlockMined
impl UnwindSafe for BlockMined
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,