pub struct ActReply {
pub actions_run: usize,
pub observation: Option<Observation>,
pub opened_screen: Option<u8>,
}Expand description
Reply to POST /sessions/{id}/act.
Fields§
§actions_run: usize§observation: Option<Observation>The closing screenshot, when the batch asked for one.
opened_screen: Option<u8>Screen number this batch opened for the session, when it was the session’s first call.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActReply
impl<'de> Deserialize<'de> for ActReply
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
impl Eq for ActReply
impl StructuralPartialEq for ActReply
Auto Trait Implementations§
impl Freeze for ActReply
impl RefUnwindSafe for ActReply
impl Send for ActReply
impl Sync for ActReply
impl Unpin for ActReply
impl UnsafeUnpin for ActReply
impl UnwindSafe for ActReply
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