#[non_exhaustive]pub struct AccessWords {
pub saved: String,
pub not_saved: String,
pub deleted_one: String,
pub deleted_many: String,
pub showing: String,
}Expand description
The words of the announcements. {0} is what each one is about.
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.saved: StringA record was kept: {0} is what names it.
not_saved: StringA record could not be kept: {0} is why.
deleted_one: StringOne record was deleted.
deleted_many: StringMore than one was: {0} is how many.
showing: StringA screen opened: {0} is its title.
Implementations§
Source§impl AccessWords
impl AccessWords
Sourcepub fn for_language(code: &str) -> Self
pub fn for_language(code: &str) -> Self
In the language of this code, as en or pt-BR; English for any other.
Trait Implementations§
Source§impl Clone for AccessWords
impl Clone for AccessWords
Source§fn clone(&self) -> AccessWords
fn clone(&self) -> AccessWords
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 AccessWords
impl Debug for AccessWords
Source§impl Default for AccessWords
impl Default for AccessWords
impl Eq for AccessWords
Source§impl PartialEq for AccessWords
impl PartialEq for AccessWords
impl StructuralPartialEq for AccessWords
Auto Trait Implementations§
impl Freeze for AccessWords
impl RefUnwindSafe for AccessWords
impl Send for AccessWords
impl Sync for AccessWords
impl Unpin for AccessWords
impl UnsafeUnpin for AccessWords
impl UnwindSafe for AccessWords
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<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more