pub struct MessageSpec { /* private fields */ }Implementations§
Source§impl MessageSpec
impl MessageSpec
pub fn hash(&self) -> MessageHash
Trait Implementations§
Source§impl Clone for MessageSpec
impl Clone for MessageSpec
Source§fn clone(&self) -> MessageSpec
fn clone(&self) -> MessageSpec
Returns a duplicate 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 MessageSpec
impl Debug for MessageSpec
Source§impl<'de> Deserialize<'de> for MessageSpec
impl<'de> Deserialize<'de> for MessageSpec
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 Hash for MessageSpec
impl Hash for MessageSpec
Source§impl JsonSchema for MessageSpec
impl JsonSchema for MessageSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for MessageSpec
impl Ord for MessageSpec
Source§impl PartialEq for MessageSpec
impl PartialEq for MessageSpec
Source§impl PartialOrd for MessageSpec
impl PartialOrd for MessageSpec
Source§impl Serialize for MessageSpec
impl Serialize for MessageSpec
impl Eq for MessageSpec
impl StructuralPartialEq for MessageSpec
Auto Trait Implementations§
impl Freeze for MessageSpec
impl RefUnwindSafe for MessageSpec
impl Send for MessageSpec
impl Sync for MessageSpec
impl Unpin for MessageSpec
impl UnsafeUnpin for MessageSpec
impl UnwindSafe for MessageSpec
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.