pub struct ComposerWire {
pub machine: Option<MachineTurn>,
pub bind: String,
pub mode: String,
pub notice: Option<Value>,
}Expand description
What one seat’s composer is doing.
A client attaching to a running session cannot reconstruct any of it: the stream announces a compaction and a sign-in once each and retains nothing.
No take, and the notice only when it is unsent: a take belongs to the
connection that started it, whose own updates carry its meter, its phases
and its words, so the shared record says nothing about one and no other
subscriber draws it. A LANDED take’s words, though, are the seat’s until a
prompt carries them away - a page that reloads between the landing and the
send reads them back here (#1360) - and they are marked carried so a
page reads a re-hand as the seat’s words rather than a landing of its own.
The ASKS the composer is answering ride pending_asks on this same record
rather than appearing here, because that is the same thing the session’s own
read answers and two copies of it would drift.
Fields§
§machine: Option<MachineTurn>The machine turn running on the seat, which takes the composer away: absent for a seat taking input.
bind: StringThe push-to-talk key and how a press maps onto a take, in the
vocabulary forge.toml accepts.
Carried rather than left to each client’s default. What a keyboard press means is the user’s own configuration, and a client that drew the affordance from a hardcoded key would honour a different chord on every install that moved it.
mode: String§notice: Option<Value>The landed dictation nobody has sent yet, in the same shape the
dictate_ended update carries, plus carried: true.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ComposerWire
impl<'de> Deserialize<'de> for ComposerWire
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>,
Auto Trait Implementations§
impl Freeze for ComposerWire
impl RefUnwindSafe for ComposerWire
impl Send for ComposerWire
impl Sync for ComposerWire
impl Unpin for ComposerWire
impl UnsafeUnpin for ComposerWire
impl UnwindSafe for ComposerWire
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more