pub struct SendOutput {
pub wire: String,
pub cast: bool,
pub acked: Option<bool>,
pub delivered: Option<usize>,
}Expand description
Output for the send MCP tool.
Fields§
§wire: StringThe canonical NDJSON wire line (v=1 InjectionCommand) for the command.
cast: boolWhether the command was cast through a relay (vs wire-line only).
acked: Option<bool>When cast: whether the relay acknowledged delivery (bd-0b4e45).
delivered: Option<usize>When cast: how many connected devices received it (0 = the target device id is not connected to the relay).
Trait Implementations§
Source§impl Clone for SendOutput
impl Clone for SendOutput
Source§fn clone(&self) -> SendOutput
fn clone(&self) -> SendOutput
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 SendOutput
impl Debug for SendOutput
Source§impl JsonSchema for SendOutput
impl JsonSchema for SendOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SendOutput
impl RefUnwindSafe for SendOutput
impl Send for SendOutput
impl Sync for SendOutput
impl Unpin for SendOutput
impl UnsafeUnpin for SendOutput
impl UnwindSafe for SendOutput
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