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<'arbitrary> Arbitrary<'arbitrary> for MsgSubmitMisbehaviour
impl<'arbitrary> Arbitrary<'arbitrary> for MsgSubmitMisbehaviour
Source§fn arbitrary(
u: &mut Unstructured<'arbitrary>,
) -> Result<MsgSubmitMisbehaviour, Error>
fn arbitrary( u: &mut Unstructured<'arbitrary>, ) -> Result<MsgSubmitMisbehaviour, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(
u: Unstructured<'arbitrary>,
) -> Result<MsgSubmitMisbehaviour, Error>
fn arbitrary_take_rest( u: Unstructured<'arbitrary>, ) -> Result<MsgSubmitMisbehaviour, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§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(value: MsgSubmitMisbehaviour) -> ClientMsg
fn from(value: 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(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 PartialEq for MsgSubmitMisbehaviour
impl PartialEq for MsgSubmitMisbehaviour
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
Source§type Error = DecodingError
type Error = DecodingError
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