pub struct LiveRequest {
pub request_id: Value,
pub door: ApprovalDoor,
pub session_id: Option<String>,
pub subject: String,
pub options: Vec<ApprovalOption>,
}Expand description
One live protocol request as the classifier reads it off the wire.
Fields§
§request_id: ValueNative JSON id the harness expects back through runtimes.respond.
door: ApprovalDoorProtocol door that raised it.
session_id: Option<String>Session the request names, when it names one.
subject: StringOne-line description of what is being asked about.
options: Vec<ApprovalOption>Answers the door accepts.
Trait Implementations§
Source§impl Clone for LiveRequest
impl Clone for LiveRequest
Source§fn clone(&self) -> LiveRequest
fn clone(&self) -> LiveRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LiveRequest
impl Debug for LiveRequest
impl Eq for LiveRequest
Source§impl PartialEq for LiveRequest
impl PartialEq for LiveRequest
impl StructuralPartialEq for LiveRequest
Auto Trait Implementations§
impl Freeze for LiveRequest
impl RefUnwindSafe for LiveRequest
impl Send for LiveRequest
impl Sync for LiveRequest
impl Unpin for LiveRequest
impl UnsafeUnpin for LiveRequest
impl UnwindSafe for LiveRequest
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.