pub struct InteractionPreview {
pub action_code: String,
pub title: String,
pub message: String,
pub tone: InteractionTone,
pub details: Vec<PreviewDetail>,
pub proceed_label: String,
pub reject_label: String,
pub client_task: Option<ClientTask>,
}Fields§
§action_code: String§title: String§message: String§tone: InteractionTone§details: Vec<PreviewDetail>§proceed_label: String§reject_label: String§client_task: Option<ClientTask>Trait Implementations§
Source§impl Clone for InteractionPreview
impl Clone for InteractionPreview
Source§fn clone(&self) -> InteractionPreview
fn clone(&self) -> InteractionPreview
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 InteractionPreview
impl Debug for InteractionPreview
Source§impl<'de> Deserialize<'de> for InteractionPreview
impl<'de> Deserialize<'de> for InteractionPreview
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 InteractionPreview
impl PartialEq for InteractionPreview
Source§impl Serialize for InteractionPreview
impl Serialize for InteractionPreview
impl StructuralPartialEq for InteractionPreview
Auto Trait Implementations§
impl Freeze for InteractionPreview
impl RefUnwindSafe for InteractionPreview
impl Send for InteractionPreview
impl Sync for InteractionPreview
impl Unpin for InteractionPreview
impl UnsafeUnpin for InteractionPreview
impl UnwindSafe for InteractionPreview
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