pub struct Interaction {
pub interaction_flow: Option<String>,
pub display_text_60: Option<String>,
pub display_text_200: Option<String>,
}Fields§
§interaction_flow: Option<String>§display_text_60: Option<String>§display_text_200: Option<String>Implementations§
source§impl Interaction
impl Interaction
pub fn new( interaction_flow: Option<InteractionFlow>, display_text_60: Option<String>, display_text_200: Option<String>, ) -> Self
pub fn diplay_text_and_pin(display_text_60: impl Into<String>) -> Self
pub fn verification_code_choice(display_text_60: impl Into<String>) -> Self
pub fn confirmation_message(display_text_200: impl Into<String>) -> Self
pub fn confirmation_message_and_verification_code_choice( display_text_200: impl Into<String>, ) -> Self
pub fn validate_display_text60(&self) -> Result<()>
pub fn validate_display_text200(&self) -> Result<()>
Trait Implementations§
source§impl Clone for Interaction
impl Clone for Interaction
source§fn clone(&self) -> Interaction
fn clone(&self) -> Interaction
Returns a copy of the value. Read more
1.6.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 Interaction
impl Debug for Interaction
source§impl Default for Interaction
impl Default for Interaction
source§fn default() -> Interaction
fn default() -> Interaction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Interaction
impl<'de> Deserialize<'de> for Interaction
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
source§impl PartialEq for Interaction
impl PartialEq for Interaction
source§impl Serialize for Interaction
impl Serialize for Interaction
impl StructuralPartialEq for Interaction
Auto Trait Implementations§
impl Freeze for Interaction
impl RefUnwindSafe for Interaction
impl Send for Interaction
impl Sync for Interaction
impl Unpin for Interaction
impl UnwindSafe for Interaction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)