Struct rings_core::message::CustomMessage
source · Expand description
MessageType use to customize message, will be handle by custom_message method.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
source§impl Clone for CustomMessage
impl Clone for CustomMessage
source§fn clone(&self) -> CustomMessage
fn clone(&self) -> CustomMessage
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 CustomMessage
impl Debug for CustomMessage
source§impl<'de> Deserialize<'de> for CustomMessage
impl<'de> Deserialize<'de> for CustomMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<CustomMessage> for CustomMessage
impl PartialEq<CustomMessage> for CustomMessage
source§fn eq(&self, other: &CustomMessage) -> bool
fn eq(&self, other: &CustomMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CustomMessage
impl Serialize for CustomMessage
impl Eq for CustomMessage
impl StructuralEq for CustomMessage
impl StructuralPartialEq for CustomMessage
Auto Trait Implementations§
impl RefUnwindSafe for CustomMessage
impl Send for CustomMessage
impl Sync for CustomMessage
impl Unpin for CustomMessage
impl UnwindSafe for CustomMessage
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.