pub struct StartTeamRunRequest {
pub input: Value,
pub metadata: Option<Map<String, Value>>,
}Expand description
addressed_to, message and chat_mode were declared at the TOP level here and the
handler’s schema accepts only input and metadata, with .strip(). So a client written
from this document had its addressing and its chat mode dropped with no error at all: the
run started, it just was not the run that was asked for. They belong inside input, which
is where the handler reads them.
Fields§
§input: ValueThe turn. A bare string is expanded to { message }. addressed_to selects who answers;
absent, @mentions in message are parsed for the same purpose.
metadata: Option<Map<String, Value>>Accepted by the handler and undeclared here until now — the drift ran both ways.
Trait Implementations§
Source§impl Clone for StartTeamRunRequest
impl Clone for StartTeamRunRequest
Source§fn clone(&self) -> StartTeamRunRequest
fn clone(&self) -> StartTeamRunRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StartTeamRunRequest
impl Debug for StartTeamRunRequest
Source§impl Default for StartTeamRunRequest
impl Default for StartTeamRunRequest
Source§fn default() -> StartTeamRunRequest
fn default() -> StartTeamRunRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartTeamRunRequest
impl<'de> Deserialize<'de> for StartTeamRunRequest
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 StartTeamRunRequest
impl PartialEq for StartTeamRunRequest
Source§impl Serialize for StartTeamRunRequest
impl Serialize for StartTeamRunRequest
impl StructuralPartialEq for StartTeamRunRequest
Auto Trait Implementations§
impl Freeze for StartTeamRunRequest
impl RefUnwindSafe for StartTeamRunRequest
impl Send for StartTeamRunRequest
impl Sync for StartTeamRunRequest
impl Unpin for StartTeamRunRequest
impl UnsafeUnpin for StartTeamRunRequest
impl UnwindSafe for StartTeamRunRequest
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