Enum bee_api_types::responses::BlockResponse
source · [−]Expand description
Response of GET /api/core/v2/blocks/{block_id}. Returns a specific block.
Variants
Json(BlockDto)
Raw(Vec<u8>)
Trait Implementations
sourceimpl Clone for BlockResponse
impl Clone for BlockResponse
sourcefn clone(&self) -> BlockResponse
fn clone(&self) -> BlockResponse
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 moresourceimpl Debug for BlockResponse
impl Debug for BlockResponse
sourceimpl<'de> Deserialize<'de> for BlockResponse
impl<'de> Deserialize<'de> for BlockResponse
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 IntoResponse for BlockResponse
impl IntoResponse for BlockResponse
sourcefn into_response(self) -> Response<BoxBody>
fn into_response(self) -> Response<BoxBody>
Create a response.
sourceimpl PartialEq<BlockResponse> for BlockResponse
impl PartialEq<BlockResponse> for BlockResponse
sourcefn eq(&self, other: &BlockResponse) -> bool
fn eq(&self, other: &BlockResponse) -> bool
sourceimpl Serialize for BlockResponse
impl Serialize for BlockResponse
impl Eq for BlockResponse
impl StructuralEq for BlockResponse
impl StructuralPartialEq for BlockResponse
Auto Trait Implementations
impl RefUnwindSafe for BlockResponse
impl Send for BlockResponse
impl Sync for BlockResponse
impl Unpin for BlockResponse
impl UnwindSafe for BlockResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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