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