feat: ✨ function to create a RustlerMsg::QuoteMsg
adds `to_msg` function, which creates a `RustlerMsg::QuoteMsg` from a `Quote`
This commit is contained in:
parent
e1b9286430
commit
66da2d1bf4
@ -47,6 +47,12 @@ pub fn quote(
|
||||
})
|
||||
}
|
||||
|
||||
/// #### 🐎 » create a quote message from a `Quote`
|
||||
#[inline]
|
||||
pub fn to_msg(quote: Quote) -> RustlerMsg {
|
||||
RustlerMsg::QuoteMsg(quote)
|
||||
}
|
||||
|
||||
/// #### 🐎 » Rustlers Service
|
||||
///
|
||||
/// `RustlersSvc` is a service that manages the rustlers and orchestrates their executions.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user