pub struct OnConfirmationEvent {
pub session_id: String,
pub confirmation_type: ConfirmationType,
pub message: String,
pub options: Option<Vec<String>>,
}Expand description
On-confirmation event payload
Fields§
§session_id: String§confirmation_type: ConfirmationTypeType of confirmation needed
message: StringMessage to show to user
options: Option<Vec<String>>Options to present (if any)
Trait Implementations§
Source§impl Clone for OnConfirmationEvent
impl Clone for OnConfirmationEvent
Source§fn clone(&self) -> OnConfirmationEvent
fn clone(&self) -> OnConfirmationEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 OnConfirmationEvent
impl Debug for OnConfirmationEvent
Source§impl<'de> Deserialize<'de> for OnConfirmationEvent
impl<'de> Deserialize<'de> for OnConfirmationEvent
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 OnConfirmationEvent
impl RefUnwindSafe for OnConfirmationEvent
impl Send for OnConfirmationEvent
impl Sync for OnConfirmationEvent
impl Unpin for OnConfirmationEvent
impl UnsafeUnpin for OnConfirmationEvent
impl UnwindSafe for OnConfirmationEvent
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