pub struct UiStrings {Show 15 fields
pub welcome_title: Option<String>,
pub welcome_body: Option<String>,
pub activate_online: Option<String>,
pub activate_offline: Option<String>,
pub deactivated_title: Option<String>,
pub deactivated_body: Option<String>,
pub license_expired_title: Option<String>,
pub license_expired_body: Option<String>,
pub license_invalid_title: Option<String>,
pub license_invalid_body: Option<String>,
pub license_unverified_title: Option<String>,
pub license_unverified_body: Option<String>,
pub expired_notice: Option<String>,
pub not_covered_title: Option<String>,
pub not_covered_body: Option<String>,
}Expand description
Copy overrides. Leave a field None for the built-in text, several of which
name your product and manufacturer.
Fields§
§welcome_title: Option<String>Default: “Activate {product}”.
welcome_body: Option<String>Default: “Unlock {product} through your {manufacturer} account, or take it for a spin with a free trial.”
activate_online: Option<String>Default: “Activate online”.
activate_offline: Option<String>Default: “No internet? Activate offline”.
deactivated_title: Option<String>Shown on the welcome screen instead of the welcome copy once the app has lost its license, one pair per reason, so the customer learns why.
deactivated_body: Option<String>§license_expired_title: Option<String>§license_expired_body: Option<String>§license_invalid_title: Option<String>§license_invalid_body: Option<String>§license_unverified_title: Option<String>§license_unverified_body: Option<String>§expired_notice: Option<String>The note on the trial-expired screen about what stops working.
not_covered_title: Option<String>The upgrade screen, for a license that doesn’t cover this version of the app. Default: “Version {version} needs an upgrade”.
not_covered_body: Option<String>Default: what the license covers, e.g. “Your updates ended on 1 June 2026. Your license covers releases up to 2.3.0.”
Trait Implementations§
impl Eq for UiStrings
impl StructuralPartialEq for UiStrings
Auto Trait Implementations§
impl Freeze for UiStrings
impl RefUnwindSafe for UiStrings
impl Send for UiStrings
impl Sync for UiStrings
impl Unpin for UiStrings
impl UnsafeUnpin for UiStrings
impl UnwindSafe for UiStrings
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
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§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
key and return true if they are equal.