Struct hpl_interface::types::MessageIdMultisigIsmMetadata
source · pub struct MessageIdMultisigIsmMetadata {
pub origin_mailbox: HexBinary,
pub merkle_root: HexBinary,
pub signatures: HexBinary,
}
Fields§
§origin_mailbox: HexBinary
§merkle_root: HexBinary
§signatures: HexBinary
Implementations§
source§impl MessageIdMultisigIsmMetadata
impl MessageIdMultisigIsmMetadata
pub fn signatures_len(&self) -> Result<usize, &'static str>
pub fn signature_at(&self, index: usize) -> HexBinary
Trait Implementations§
source§impl Clone for MessageIdMultisigIsmMetadata
impl Clone for MessageIdMultisigIsmMetadata
source§fn clone(&self) -> MessageIdMultisigIsmMetadata
fn clone(&self) -> MessageIdMultisigIsmMetadata
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 MessageIdMultisigIsmMetadata
impl Debug for MessageIdMultisigIsmMetadata
source§impl<'de> Deserialize<'de> for MessageIdMultisigIsmMetadata
impl<'de> Deserialize<'de> for MessageIdMultisigIsmMetadata
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 From<HexBinary> for MessageIdMultisigIsmMetadata
impl From<HexBinary> for MessageIdMultisigIsmMetadata
source§impl From<MessageIdMultisigIsmMetadata> for HexBinary
impl From<MessageIdMultisigIsmMetadata> for HexBinary
source§fn from(v: MessageIdMultisigIsmMetadata) -> Self
fn from(v: MessageIdMultisigIsmMetadata) -> Self
Converts to this type from the input type.
source§impl JsonSchema for MessageIdMultisigIsmMetadata
impl JsonSchema for MessageIdMultisigIsmMetadata
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for MessageIdMultisigIsmMetadata
impl PartialEq for MessageIdMultisigIsmMetadata
source§fn eq(&self, other: &MessageIdMultisigIsmMetadata) -> bool
fn eq(&self, other: &MessageIdMultisigIsmMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageIdMultisigIsmMetadata
Auto Trait Implementations§
impl RefUnwindSafe for MessageIdMultisigIsmMetadata
impl Send for MessageIdMultisigIsmMetadata
impl Sync for MessageIdMultisigIsmMetadata
impl Unpin for MessageIdMultisigIsmMetadata
impl UnwindSafe for MessageIdMultisigIsmMetadata
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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