pub trait EncodableWithMeta {
    type Encoded;

    // Required methods
    fn encode_with_meta(
        &self,
        encoding: UiTransactionEncoding,
        meta: &TransactionStatusMeta
    ) -> Self::Encoded;
    fn json_encode(&self) -> Self::Encoded;
}
Expand description

Represents types that can be encoded into one of several encoding formats

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

source§

impl EncodableWithMeta for Message

source§

impl EncodableWithMeta for VersionedTransaction

Implementors§