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
fieldExpand 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
fieldclient unique identifier
misbehaviour: Any
๐Deprecated since 0.51.0: Misbehaviour reports should be submitted via
MsgUpdateClient
through its client_message
fieldmisbehaviour used for freezing the light client
signer: Signer
๐Deprecated since 0.51.0: Misbehaviour reports should be submitted via
MsgUpdateClient
through its client_message
fieldsigner address
Trait Implementationsยง
sourceยงimpl BorshDeserialize for MsgSubmitMisbehaviour
impl BorshDeserialize for MsgSubmitMisbehaviour
fn deserialize_reader<R>(reader: &mut R) -> Result<MsgSubmitMisbehaviour, Error>where
R: Read,
sourceยงfn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
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>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
sourceยงimpl Clone for MsgSubmitMisbehaviour
impl Clone for MsgSubmitMisbehaviour
sourceยงfn clone(&self) -> MsgSubmitMisbehaviour
fn clone(&self) -> MsgSubmitMisbehaviour
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 MsgSubmitMisbehaviour
impl Debug for MsgSubmitMisbehaviour
sourceยงimpl From<MsgSubmitMisbehaviour> for ClientMsg
impl From<MsgSubmitMisbehaviour> for ClientMsg
sourceยงfn from(original: MsgSubmitMisbehaviour) -> ClientMsg
fn from(original: MsgSubmitMisbehaviour) -> ClientMsg
Converts to this type from the input type.
sourceยงimpl From<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour
impl From<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour
sourceยงfn from(ics_msg: MsgSubmitMisbehaviour) -> MsgSubmitMisbehaviour
fn from(ics_msg: MsgSubmitMisbehaviour) -> MsgSubmitMisbehaviour
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(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 MsgSubmitMisbehaviour
impl PartialEq for MsgSubmitMisbehaviour
sourceยงfn eq(&self, other: &MsgSubmitMisbehaviour) -> bool
fn eq(&self, other: &MsgSubmitMisbehaviour) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.sourceยงimpl Protobuf<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour
impl Protobuf<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour
sourceยงfn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
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,
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,
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,
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
fn encoded_len(self) -> usize
Returns the encoded length of the message without a length delimiter. Read more
sourceยงfn decode_vec(v: &[u8]) -> Result<Self, Error>
fn decode_vec(v: &[u8]) -> Result<Self, Error>
Constructor that attempts to decode a Protobuf-encoded instance from a
Vec<u8>
(or equivalent).sourceยงimpl TryFrom<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour
impl TryFrom<MsgSubmitMisbehaviour> for MsgSubmitMisbehaviour
ยงtype Error = ClientError
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>
fn try_from( raw: MsgSubmitMisbehaviour ) -> Result<MsgSubmitMisbehaviour, <MsgSubmitMisbehaviour as TryFrom<MsgSubmitMisbehaviour>>::Error>
Performs the conversion.
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