pub enum ObservedDecision {
Selected {
option: String,
kind: String,
},
Cancelled,
}Expand description
What came back when a person was asked to permit a call.
Variants§
Selected
An option the agent offered was selected.
Both halves are the agent’s, and neither is interpreted here. The party under observation supplies the options a client may pick from, including what each one is called and what kind it claims to be — so a plane that folded them into its own allowed / refused would be deciding what somebody else’s vocabulary meant, and would be wrong the first time that party offered a kind it had invented. Recorded as given; a reader judges.
Fields
Cancelled
No option was selected and the turn was stopped instead.
Distinct from selecting a refusing option, and the distinction is the finding: stopping the turn is the only refusal available when an agent offers none, so a session full of these is a client that was never given a way to say no.
Trait Implementations§
Source§impl Clone for ObservedDecision
impl Clone for ObservedDecision
Source§impl Debug for ObservedDecision
impl Debug for ObservedDecision
Source§impl<'de> Deserialize<'de> for ObservedDecision
impl<'de> Deserialize<'de> for ObservedDecision
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>,
impl Eq for ObservedDecision
Source§impl PartialEq for ObservedDecision
impl PartialEq for ObservedDecision
Source§impl Serialize for ObservedDecision
impl Serialize for ObservedDecision
impl StructuralPartialEq for ObservedDecision
Auto Trait Implementations§
impl Freeze for ObservedDecision
impl RefUnwindSafe for ObservedDecision
impl Send for ObservedDecision
impl Sync for ObservedDecision
impl Unpin for ObservedDecision
impl UnsafeUnpin for ObservedDecision
impl UnwindSafe for ObservedDecision
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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