Struct AcknowledgementCommitment
pub struct AcknowledgementCommitment(pub Vec<u8>);
Expand description
Acknowledgement commitment to be stored
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
§impl AsRef<[u8]> for AcknowledgementCommitment
impl AsRef<[u8]> for AcknowledgementCommitment
§impl Clone for AcknowledgementCommitment
impl Clone for AcknowledgementCommitment
§fn clone(&self) -> AcknowledgementCommitment
fn clone(&self) -> AcknowledgementCommitment
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 more§impl Debug for AcknowledgementCommitment
impl Debug for AcknowledgementCommitment
§impl From<Vec<u8>> for AcknowledgementCommitment
impl From<Vec<u8>> for AcknowledgementCommitment
§fn from(bytes: Vec<u8>) -> AcknowledgementCommitment
fn from(bytes: Vec<u8>) -> AcknowledgementCommitment
Converts to this type from the input type.
§impl PartialEq for AcknowledgementCommitment
impl PartialEq for AcknowledgementCommitment
impl Eq for AcknowledgementCommitment
impl StructuralPartialEq for AcknowledgementCommitment
Auto Trait Implementations§
impl Freeze for AcknowledgementCommitment
impl RefUnwindSafe for AcknowledgementCommitment
impl Send for AcknowledgementCommitment
impl Sync for AcknowledgementCommitment
impl Unpin for AcknowledgementCommitment
impl UnwindSafe for AcknowledgementCommitment
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)