Struct chik_protocol::RequestRemovals
source · pub struct RequestRemovals {
pub height: u32,
pub header_hash: Bytes32,
pub coin_names: Option<Vec<Bytes32>>,
}Fields§
§height: u32§header_hash: Bytes32§coin_names: Option<Vec<Bytes32>>Implementations§
Trait Implementations§
source§impl ChikProtocolMessage for RequestRemovals
impl ChikProtocolMessage for RequestRemovals
fn msg_type() -> ProtocolMessageTypes
source§impl Clone for RequestRemovals
impl Clone for RequestRemovals
source§fn clone(&self) -> RequestRemovals
fn clone(&self) -> RequestRemovals
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 RequestRemovals
impl Debug for RequestRemovals
source§impl Hash for RequestRemovals
impl Hash for RequestRemovals
source§impl PartialEq for RequestRemovals
impl PartialEq for RequestRemovals
source§fn eq(&self, other: &RequestRemovals) -> bool
fn eq(&self, other: &RequestRemovals) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Streamable for RequestRemovals
impl Streamable for RequestRemovals
fn update_digest(&self, digest: &mut Sha256)
fn stream(&self, out: &mut Vec<u8>) -> Result<()>
fn parse<const TRUSTED: bool>(input: &mut Cursor<&[u8]>) -> Result<Self>
fn to_bytes(&self) -> Result<Vec<u8>, Error>
fn from_bytes(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes_unchecked(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn hash(&self) -> [u8; 32]
impl Eq for RequestRemovals
impl StructuralPartialEq for RequestRemovals
Auto Trait Implementations§
impl Freeze for RequestRemovals
impl RefUnwindSafe for RequestRemovals
impl Send for RequestRemovals
impl Sync for RequestRemovals
impl Unpin for RequestRemovals
impl UnwindSafe for RequestRemovals
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