Struct ibc::core::client::context::types::msgs::MsgSubmitMisbehaviour

source ยท
pub struct MsgSubmitMisbehaviour {
    pub client_id: ClientId,
    pub misbehaviour: Any,
    pub signer: Signer,
}
๐Ÿ‘ŽDeprecated since 0.51.0: Misbehaviour reports should be submitted via MsgUpdateClient through its client_message field
Expand description

A type of message that submits client misbehaviour proof.

Deprecated since v0.51.0. Misbehaviour reports should be submitted via the MsgUpdateClient type through its client_message field.

Fieldsยง

ยงclient_id: ClientId
๐Ÿ‘ŽDeprecated since 0.51.0: Misbehaviour reports should be submitted via MsgUpdateClient through its client_message field

client unique identifier

ยงmisbehaviour: Any
๐Ÿ‘ŽDeprecated since 0.51.0: Misbehaviour reports should be submitted via MsgUpdateClient through its client_message field

misbehaviour used for freezing the light client

ยงsigner: Signer
๐Ÿ‘ŽDeprecated since 0.51.0: Misbehaviour reports should be submitted via MsgUpdateClient through its client_message field

signer address

Trait Implementationsยง

sourceยง

impl BorshDeserialize for MsgSubmitMisbehaviour

sourceยง

fn deserialize_reader<R>(reader: &mut R) -> Result<MsgSubmitMisbehaviour, Error>
where R: Read,

sourceยง

fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
sourceยง

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
sourceยง

fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>
where R: Read,

sourceยง

impl BorshSerialize for MsgSubmitMisbehaviour

sourceยง

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write,

sourceยง

fn try_to_vec(&self) -> Result<Vec<u8>, Error>

Serialize this instance into a vector of bytes.
sourceยง

impl Clone for MsgSubmitMisbehaviour

sourceยง

fn clone(&self) -> MsgSubmitMisbehaviour

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for MsgSubmitMisbehaviour

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
sourceยง

impl From<MsgSubmitMisbehaviour> for ClientMsg

sourceยง

fn from(original: MsgSubmitMisbehaviour) -> ClientMsg

Converts to this type from the input type.
sourceยง

impl From<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour

sourceยง

fn from(ics_msg: MsgSubmitMisbehaviour) -> MsgSubmitMisbehaviour

Converts to this type from the input type.
sourceยง

impl JsonSchema for MsgSubmitMisbehaviour

sourceยง

fn schema_name() -> String

The name of the generated JSON Schema. Read more
sourceยง

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

Generates a JSON Schema for this type. Read more
sourceยง

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
sourceยง

impl PartialEq for MsgSubmitMisbehaviour

sourceยง

fn eq(&self, other: &MsgSubmitMisbehaviour) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 ยท sourceยง

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
sourceยง

impl Protobuf<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour

sourceยง

fn encode<B>(self, buf: &mut B) -> Result<(), Error>
where B: BufMut,

Encode into a buffer in Protobuf format. Read more
sourceยง

fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>
where B: BufMut,

Encode with a length-delimiter to a buffer in Protobuf format. Read more
sourceยง

fn decode<B>(buf: B) -> Result<Self, Error>
where B: Buf,

Constructor that attempts to decode an instance from a buffer. Read more
sourceยง

fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>
where B: Buf,

Constructor that attempts to decode a length-delimited instance from the buffer. Read more
sourceยง

fn encoded_len(self) -> usize

Returns the encoded length of the message without a length delimiter. Read more
sourceยง

fn encode_vec(self) -> Vec<u8> โ“˜

Encodes into a Protobuf-encoded Vec<u8>.
sourceยง

fn decode_vec(v: &[u8]) -> Result<Self, Error>

Constructor that attempts to decode a Protobuf-encoded instance from a Vec<u8> (or equivalent).
sourceยง

fn encode_length_delimited_vec(self) -> Vec<u8> โ“˜

Encode with a length-delimiter to a Vec<u8> Protobuf-encoded message.
sourceยง

fn decode_length_delimited_vec(v: &[u8]) -> Result<Self, Error>

Constructor that attempts to decode a Protobuf-encoded instance with a length-delimiter from a Vec<u8> or equivalent.
sourceยง

impl TryFrom<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour

ยง

type Error = ClientError

The type returned in the event of a conversion error.
sourceยง

fn try_from( raw: MsgSubmitMisbehaviour ) -> Result<MsgSubmitMisbehaviour, <MsgSubmitMisbehaviour as TryFrom<MsgSubmitMisbehaviour>>::Error>

Performs the conversion.
sourceยง

impl Eq for MsgSubmitMisbehaviour

sourceยง

impl StructuralPartialEq for MsgSubmitMisbehaviour

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
sourceยง

impl<T> DynClone for T
where T: Clone,

sourceยง

fn __clone_box(&self, _: Private) -> *mut ()

sourceยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

sourceยง

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
sourceยง

impl<T> From<T> for T

sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

sourceยง

impl<T> Same for T

ยง

type Output = T

Should always be Self
sourceยง

impl<T> ToOwned for T
where T: Clone,

ยง

type Owned = T

The resulting type after obtaining ownership.
sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

ยง

type Error = Infallible

The type returned in the event of a conversion error.
sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

ยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
sourceยง

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

sourceยง

fn vzip(self) -> V

sourceยง

impl<T, C> Convertible<C> for T
where T: TryFrom<C> + Into<C>,

sourceยง

impl<T> JsonSchemaMaybe for T