pub struct SteerReceived {
pub source: String,
pub text: String,
}Expand description
steer_received: text added to a run at a phase boundary, and who
spoke it.
Fields§
§source: StringSteerReceived::PERSON_SOURCE, SteerReceived::CITY_SOURCE,
or a resident’s @<room> followed by its letter’s attributes.
text: StringImplementations§
Source§impl SteerReceived
impl SteerReceived
Sourcepub const PERSON_SOURCE: &'static str = "user"
pub const PERSON_SOURCE: &'static str = "user"
The source of a steer the person spoke. runtime::conversation
writes it and wire::note_of reads it; the spelling lives here
because both depend on this crate and neither on the other
(crates/wire/spec/Reading.lean D41).
Sourcepub const CITY_SOURCE: &'static str = "city"
pub const CITY_SOURCE: &'static str = "city"
The source of the city’s own word to a run: a policy change, a
sync wait that ran out.
Trait Implementations§
Source§impl Clone for SteerReceived
impl Clone for SteerReceived
Source§impl Debug for SteerReceived
impl Debug for SteerReceived
Source§impl<'de> Deserialize<'de> for SteerReceived
impl<'de> Deserialize<'de> for SteerReceived
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 SteerReceived
Source§impl PartialEq for SteerReceived
impl PartialEq for SteerReceived
Source§impl Serialize for SteerReceived
impl Serialize for SteerReceived
impl StructuralPartialEq for SteerReceived
Auto Trait Implementations§
impl Freeze for SteerReceived
impl RefUnwindSafe for SteerReceived
impl Send for SteerReceived
impl Sync for SteerReceived
impl Unpin for SteerReceived
impl UnsafeUnpin for SteerReceived
impl UnwindSafe for SteerReceived
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