pub struct HitlResponse {
pub hitl_id: String,
pub action_hash: String,
pub allow: bool,
pub reason: String,
pub surface: String,
}Expand description
EventKind::HitlResponse payload: the human’s decision, echoing the pin.
Fields§
§hitl_id: String§action_hash: String§allow: bool§reason: String§surface: String“cli” | “hub” | “ios” | “auto”.
Trait Implementations§
Source§impl Clone for HitlResponse
impl Clone for HitlResponse
Source§fn clone(&self) -> HitlResponse
fn clone(&self) -> HitlResponse
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 HitlResponse
impl Debug for HitlResponse
Source§impl<'de> Deserialize<'de> for HitlResponse
impl<'de> Deserialize<'de> for HitlResponse
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
Auto Trait Implementations§
impl Freeze for HitlResponse
impl RefUnwindSafe for HitlResponse
impl Send for HitlResponse
impl Sync for HitlResponse
impl Unpin for HitlResponse
impl UnsafeUnpin for HitlResponse
impl UnwindSafe for HitlResponse
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