MessageSwapCompose

Type Alias MessageSwapCompose 

Source
pub type MessageSwapCompose<DB, N = EthPrimitives> = Message<SwapComposeMessage<DB, N>>;

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<DB, N: NodePrimitives> MessageSwapCompose<DB, N>

Source

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

Source

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

Source

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

Layout§

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