pub struct PullBlocksRequest {
pub height: u64,
pub num_blocks: u32,
pub num_response_bytes: u32,
}Expand description
Pull_Blocks の要求。catapult の PullBlocksRequest
Fields§
§height: u64§num_blocks: u32§num_response_bytes: u32Implementations§
Source§impl PullBlocksRequest
impl PullBlocksRequest
pub fn decode(body: &[u8]) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Clone for PullBlocksRequest
impl Clone for PullBlocksRequest
Source§fn clone(&self) -> PullBlocksRequest
fn clone(&self) -> PullBlocksRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PullBlocksRequest
Source§impl Debug for PullBlocksRequest
impl Debug for PullBlocksRequest
impl Eq for PullBlocksRequest
Source§impl PartialEq for PullBlocksRequest
impl PartialEq for PullBlocksRequest
impl StructuralPartialEq for PullBlocksRequest
Auto Trait Implementations§
impl Freeze for PullBlocksRequest
impl RefUnwindSafe for PullBlocksRequest
impl Send for PullBlocksRequest
impl Sync for PullBlocksRequest
impl Unpin for PullBlocksRequest
impl UnsafeUnpin for PullBlocksRequest
impl UnwindSafe for PullBlocksRequest
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