pub struct SubmitBlockResponse {
pub block_id: String,
}
Expand description
Response of POST /api/core/v2/blocks. Returns the block identifier of the submitted block.
Fields§
§block_id: String
Trait Implementations§
Source§impl Clone for SubmitBlockResponse
impl Clone for SubmitBlockResponse
Source§fn clone(&self) -> SubmitBlockResponse
fn clone(&self) -> SubmitBlockResponse
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 SubmitBlockResponse
impl Debug for SubmitBlockResponse
Source§impl<'de> Deserialize<'de> for SubmitBlockResponse
impl<'de> Deserialize<'de> for SubmitBlockResponse
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 IntoResponse for SubmitBlockResponse
impl IntoResponse for SubmitBlockResponse
Source§fn into_response(self) -> Response<BoxBody>
fn into_response(self) -> Response<BoxBody>
Create a response.
Source§impl PartialEq for SubmitBlockResponse
impl PartialEq for SubmitBlockResponse
Source§impl Serialize for SubmitBlockResponse
impl Serialize for SubmitBlockResponse
impl Eq for SubmitBlockResponse
impl StructuralPartialEq for SubmitBlockResponse
Auto Trait Implementations§
impl Freeze for SubmitBlockResponse
impl RefUnwindSafe for SubmitBlockResponse
impl Send for SubmitBlockResponse
impl Sync for SubmitBlockResponse
impl Unpin for SubmitBlockResponse
impl UnwindSafe for SubmitBlockResponse
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