pub struct MsgSubmitMisbehaviour {
pub client_id: String,
pub misbehaviour: Option<Any>,
pub signer: String,
}
๐Deprecated
Expand description
MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for light client misbehaviour. This message has been deprecated. Use MsgUpdateClient instead.
Fieldsยง
ยงclient_id: String
๐Deprecated
client unique identifier
misbehaviour: Option<Any>
๐Deprecated
misbehaviour used for freezing the light client
signer: String
๐Deprecated
signer address
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for MsgSubmitMisbehaviour
impl Clone for MsgSubmitMisbehaviour
Sourceยงfn clone(&self) -> MsgSubmitMisbehaviour
fn clone(&self) -> MsgSubmitMisbehaviour
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 MsgSubmitMisbehaviour
impl Debug for MsgSubmitMisbehaviour
Sourceยงimpl Default for MsgSubmitMisbehaviour
impl Default for MsgSubmitMisbehaviour
Sourceยงimpl<'de> Deserialize<'de> for MsgSubmitMisbehaviour
impl<'de> Deserialize<'de> for MsgSubmitMisbehaviour
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<MsgSubmitMisbehaviour> for Binary
impl From<MsgSubmitMisbehaviour> for Binary
Sourceยงfn from(msg: MsgSubmitMisbehaviour) -> Self
fn from(msg: MsgSubmitMisbehaviour) -> Self
Converts to this type from the input type.
Sourceยงimpl<T> From<MsgSubmitMisbehaviour> for CosmosMsg<T>
impl<T> From<MsgSubmitMisbehaviour> for CosmosMsg<T>
Sourceยงfn from(msg: MsgSubmitMisbehaviour) -> Self
fn from(msg: MsgSubmitMisbehaviour) -> Self
Converts to this type from the input type.
Sourceยงimpl JsonSchema for MsgSubmitMisbehaviour
impl JsonSchema for MsgSubmitMisbehaviour
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 Message for MsgSubmitMisbehaviour
impl Message for MsgSubmitMisbehaviour
Sourceยงfn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Sourceยงfn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Sourceยงfn encode_to_vec(&self) -> Vec<u8> โwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> โwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Sourceยงfn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Sourceยงfn encode_length_delimited_to_vec(&self) -> Vec<u8> โwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> โwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Sourceยงfn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Sourceยงfn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Sourceยงfn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSourceยงfn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Sourceยงimpl PartialEq for MsgSubmitMisbehaviour
impl PartialEq for MsgSubmitMisbehaviour
Sourceยงimpl Serialize for MsgSubmitMisbehaviour
impl Serialize for MsgSubmitMisbehaviour
Sourceยงimpl TryFrom<Binary> for MsgSubmitMisbehaviour
impl TryFrom<Binary> for MsgSubmitMisbehaviour
Sourceยงimpl TryFrom<SubMsgResult> for MsgSubmitMisbehaviour
impl TryFrom<SubMsgResult> for MsgSubmitMisbehaviour
impl Eq for MsgSubmitMisbehaviour
impl StructuralPartialEq for MsgSubmitMisbehaviour
Auto Trait Implementationsยง
impl Freeze for MsgSubmitMisbehaviour
impl RefUnwindSafe for MsgSubmitMisbehaviour
impl Send for MsgSubmitMisbehaviour
impl Sync for MsgSubmitMisbehaviour
impl Unpin for MsgSubmitMisbehaviour
impl UnwindSafe for MsgSubmitMisbehaviour
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