#[non_exhaustive]pub struct ConfirmationCopy {
pub review_title: LocalizedText,
pub confirm_title: LocalizedText,
pub reauthenticate_title: LocalizedText,
pub signature_title: LocalizedText,
pub confirm_label: LocalizedText,
pub decline_label: LocalizedText,
}Expand description
Server-authored copy for the cards the engine builds.
Every field is LocalizedText, so an application replaces the English
defaults without touching the engine.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.review_title: LocalizedTextTitle of a InteractionKind::ReviewChanges card.
confirm_title: LocalizedTextTitle of a InteractionKind::ConfirmCommand card.
reauthenticate_title: LocalizedTextTitle of a InteractionKind::Reauthenticate card.
signature_title: LocalizedTextTitle of a InteractionKind::ExternalSignature card.
confirm_label: LocalizedTextLabel of the confirming CTA.
decline_label: LocalizedTextLabel of the declining CTA.
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmationCopy
impl Clone for ConfirmationCopy
Source§impl Debug for ConfirmationCopy
impl Debug for ConfirmationCopy
Source§impl Default for ConfirmationCopy
impl Default for ConfirmationCopy
impl Eq for ConfirmationCopy
Source§impl PartialEq for ConfirmationCopy
impl PartialEq for ConfirmationCopy
Source§impl ServerCopy for ConfirmationCopy
impl ServerCopy for ConfirmationCopy
Source§fn entries(&self) -> Vec<(&'static str, &LocalizedText)>
fn entries(&self) -> Vec<(&'static str, &LocalizedText)>
Every sentence, by the name of its field.
Source§fn entries_mut(&mut self) -> Vec<(&'static str, &mut LocalizedText)>
fn entries_mut(&mut self) -> Vec<(&'static str, &mut LocalizedText)>
Every sentence, to change in place.
impl StructuralPartialEq for ConfirmationCopy
Auto Trait Implementations§
impl Freeze for ConfirmationCopy
impl RefUnwindSafe for ConfirmationCopy
impl Send for ConfirmationCopy
impl Sync for ConfirmationCopy
impl Unpin for ConfirmationCopy
impl UnsafeUnpin for ConfirmationCopy
impl UnwindSafe for ConfirmationCopy
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.