Type Alias MessageSwapCompose

Source
pub type MessageSwapCompose<DB, LDT = KabuDataTypesEthereum> = Message<SwapComposeMessage<DB, LDT>>;

Aliased Type§

pub struct MessageSwapCompose<DB, LDT = KabuDataTypesEthereum> {
    pub inner: SwapComposeMessage<DB, LDT>,
    pub source: Option<String>,
    pub time: Option<DateTime<Utc>>,
}

Fields§

§inner: SwapComposeMessage<DB, LDT>§source: Option<String>§time: Option<DateTime<Utc>>

Implementations§

Source§

impl<DB, LDT: KabuDataTypes> MessageSwapCompose<DB, LDT>

Source

pub fn prepare(data: SwapComposeData<DB, LDT>) -> Self

Source

pub fn estimate(data: SwapComposeData<DB, LDT>) -> Self

Source

pub fn ready(data: SwapComposeData<DB, LDT>) -> Self

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.