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>
impl<DB, LDT: KabuDataTypes> MessageSwapCompose<DB, LDT>
pub fn prepare(data: SwapComposeData<DB, LDT>) -> Self
pub fn estimate(data: SwapComposeData<DB, LDT>) -> Self
pub fn ready(data: SwapComposeData<DB, LDT>) -> Self
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.