pub struct UncleBlock {
pub header: Header,
pub proposals: Vec<Vec<u8>>,
}Fields§
§header: Header§proposals: Vec<Vec<u8>>Implementations§
Trait Implementations§
Source§impl Clone for UncleBlock
impl Clone for UncleBlock
Source§fn clone(&self) -> UncleBlock
fn clone(&self) -> UncleBlock
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UncleBlock
impl Debug for UncleBlock
Source§impl Default for UncleBlock
impl Default for UncleBlock
Source§fn default() -> UncleBlock
fn default() -> UncleBlock
Returns the “default value” for a type. Read more
Source§impl Hash for UncleBlock
impl Hash for UncleBlock
Source§impl PartialEq for UncleBlock
impl PartialEq for UncleBlock
impl Eq for UncleBlock
impl StructuralPartialEq for UncleBlock
Auto Trait Implementations§
impl Freeze for UncleBlock
impl RefUnwindSafe for UncleBlock
impl Send for UncleBlock
impl Sync for UncleBlock
impl Unpin for UncleBlock
impl UnwindSafe for UncleBlock
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more