pub enum ResolutionChannel {
Click,
ModelInterpreted,
}Expand description
How a user’s answer to an interaction reached the server (spec §15.7).
The channel is part of the authorization record: a “yes” the interpreter inferred from prose is not the same authority as a click, and I20 requires the replay to say which one happened.
Variants§
Click
The client posted the stored option id (a click on the card).
ModelInterpreted
Understanding read the option from typed text. This channel may never
authorize anything above RiskClass::ReversibleLowRisk.
Implementations§
Trait Implementations§
Source§impl Clone for ResolutionChannel
impl Clone for ResolutionChannel
impl Copy for ResolutionChannel
Source§impl Debug for ResolutionChannel
impl Debug for ResolutionChannel
Source§impl<'de> Deserialize<'de> for ResolutionChannel
impl<'de> Deserialize<'de> for ResolutionChannel
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 ResolutionChannel
Source§impl Hash for ResolutionChannel
impl Hash for ResolutionChannel
Source§impl JsonSchema for ResolutionChannel
impl JsonSchema for ResolutionChannel
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 moreSource§impl Ord for ResolutionChannel
impl Ord for ResolutionChannel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResolutionChannel
impl PartialEq for ResolutionChannel
Source§impl PartialOrd for ResolutionChannel
impl PartialOrd for ResolutionChannel
Source§impl Serialize for ResolutionChannel
impl Serialize for ResolutionChannel
impl StructuralPartialEq for ResolutionChannel
Auto Trait Implementations§
impl Freeze for ResolutionChannel
impl RefUnwindSafe for ResolutionChannel
impl Send for ResolutionChannel
impl Sync for ResolutionChannel
impl Unpin for ResolutionChannel
impl UnsafeUnpin for ResolutionChannel
impl UnwindSafe for ResolutionChannel
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
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Compare self to
key and return true if they are equal.