Struct chik_protocol::wallet_protocol::RespondSesInfo
source · pub struct RespondSesInfo {
pub reward_chain_hash: Vec<Bytes32>,
pub heights: Vec<Vec<u32>>,
}Fields§
§reward_chain_hash: Vec<Bytes32>§heights: Vec<Vec<u32>>Implementations§
Trait Implementations§
source§impl ChikProtocolMessage for RespondSesInfo
impl ChikProtocolMessage for RespondSesInfo
fn msg_type() -> ProtocolMessageTypes
source§impl Clone for RespondSesInfo
impl Clone for RespondSesInfo
source§fn clone(&self) -> RespondSesInfo
fn clone(&self) -> RespondSesInfo
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 RespondSesInfo
impl Debug for RespondSesInfo
source§impl Hash for RespondSesInfo
impl Hash for RespondSesInfo
source§impl PartialEq for RespondSesInfo
impl PartialEq for RespondSesInfo
source§fn eq(&self, other: &RespondSesInfo) -> bool
fn eq(&self, other: &RespondSesInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Streamable for RespondSesInfo
impl Streamable for RespondSesInfo
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 RespondSesInfo
impl StructuralPartialEq for RespondSesInfo
Auto Trait Implementations§
impl RefUnwindSafe for RespondSesInfo
impl Send for RespondSesInfo
impl Sync for RespondSesInfo
impl Unpin for RespondSesInfo
impl UnwindSafe for RespondSesInfo
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