pub struct ScenarioResult {
pub scenario_id: Option<String>,
pub revision: Option<i32>,
pub start_time: i64,
pub end_time: i64,
pub result_code: String,
pub action_results: Option<Vec<ActionResult>>,
pub ble_notification_payload: Option<String>,
pub error_reason: Option<String>,
}Fields§
§scenario_id: Option<String>Scenario ID executed
revision: Option<i32>Revision number of the scenario set containing the executed scenario
start_time: i64Timestamp for when execution of scenario action started (milliseconds, LINE app time)
end_time: i64Timestamp for when execution of scenario was completed (milliseconds, LINE app time)
result_code: StringScenario execution completion status
action_results: Option<Vec<ActionResult>>Execution result of individual operations specified in action. Only included when things.result.resultCode is success.
ble_notification_payload: Option<String>Data contained in notification.
error_reason: Option<String>Error reason.
Implementations§
Trait Implementations§
Source§impl Clone for ScenarioResult
impl Clone for ScenarioResult
Source§fn clone(&self) -> ScenarioResult
fn clone(&self) -> ScenarioResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScenarioResult
impl Debug for ScenarioResult
Source§impl Default for ScenarioResult
impl Default for ScenarioResult
Source§fn default() -> ScenarioResult
fn default() -> ScenarioResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScenarioResult
impl<'de> Deserialize<'de> for ScenarioResult
Source§fn 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
Source§impl PartialEq for ScenarioResult
impl PartialEq for ScenarioResult
Source§impl Serialize for ScenarioResult
impl Serialize for ScenarioResult
impl StructuralPartialEq for ScenarioResult
Auto Trait Implementations§
impl Freeze for ScenarioResult
impl RefUnwindSafe for ScenarioResult
impl Send for ScenarioResult
impl Sync for ScenarioResult
impl Unpin for ScenarioResult
impl UnwindSafe for ScenarioResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more