Struct csml_engine::data::RunRequest
source · pub struct RunRequest {
pub bot: Option<CsmlBot>,
pub bot_id: Option<String>,
pub version_id: Option<String>,
pub apps_endpoint: Option<String>,
pub multibot: Option<Vec<MultiBot>>,
pub event: CsmlRequest,
}
Fields
bot: Option<CsmlBot>
bot_id: Option<String>
version_id: Option<String>
apps_endpoint: Option<String>
multibot: Option<Vec<MultiBot>>
event: CsmlRequest
Implementations
sourceimpl RunRequest
impl RunRequest
pub fn get_bot_opt(&self) -> Result<BotOpt, EngineError>
Trait Implementations
sourceimpl Clone for RunRequest
impl Clone for RunRequest
sourcefn clone(&self) -> RunRequest
fn clone(&self) -> RunRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RunRequest
impl Debug for RunRequest
sourceimpl<'de> Deserialize<'de> for RunRequest
impl<'de> Deserialize<'de> for RunRequest
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for RunRequest
impl Serialize for RunRequest
Auto Trait Implementations
impl RefUnwindSafe for RunRequest
impl Send for RunRequest
impl Sync for RunRequest
impl Unpin for RunRequest
impl UnwindSafe for RunRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more