Struct cuprate_wire::p2p::protocol::NewFluffyBlock
source · pub struct NewFluffyBlock {
pub b: BlockCompleteEntry,
pub current_blockchain_height: u64,
}Expand description
A Block that doesn’t have transactions unless requested
Fields§
§b: BlockCompleteEntryBlock which might have transactions
current_blockchain_height: u64The Block height
Trait Implementations§
source§impl Clone for NewFluffyBlock
impl Clone for NewFluffyBlock
source§fn clone(&self) -> NewFluffyBlock
fn clone(&self) -> NewFluffyBlock
Returns a copy 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 NewFluffyBlock
impl Debug for NewFluffyBlock
source§impl EpeeObject for NewFluffyBlock
impl EpeeObject for NewFluffyBlock
source§impl PartialEq for NewFluffyBlock
impl PartialEq for NewFluffyBlock
source§fn eq(&self, other: &NewFluffyBlock) -> bool
fn eq(&self, other: &NewFluffyBlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for NewFluffyBlock
impl StructuralPartialEq for NewFluffyBlock
Auto Trait Implementations§
impl !Freeze for NewFluffyBlock
impl RefUnwindSafe for NewFluffyBlock
impl Send for NewFluffyBlock
impl Sync for NewFluffyBlock
impl Unpin for NewFluffyBlock
impl UnwindSafe for NewFluffyBlock
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> EpeeValue for Twhere
T: EpeeObject,
impl<T> EpeeValue for Twhere
T: EpeeObject,
const MARKER: Marker = _
fn read<B>(r: &mut B, marker: &Marker) -> Result<T, Error>where
B: Buf,
fn write<B>(self, w: &mut B) -> Result<(), Error>where
B: BufMut,
fn should_write(&self) -> bool
source§fn epee_default_value() -> Option<Self>
fn epee_default_value() -> Option<Self>
This is different than default field values and instead is the default
value of a whole type. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 88 bytes