#[non_exhaustive]pub struct AssistantLabels {
pub placeholder: String,
pub nothing_found: String,
pub film: String,
pub player: MovieLabels,
}Expand description
The words a MovieAssistant shows. English by default.
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.placeholder: StringInside the empty question field.
nothing_found: StringWhen no film answers the question.
film: StringThe name of the choice of film, for screen readers.
player: MovieLabelsThe player’s own words.
Implementations§
Source§impl AssistantLabels
impl AssistantLabels
Sourcepub fn from_texts(texts: &Texts) -> Self
pub fn from_texts(texts: &Texts) -> Self
The texts of a catalog, in its language. What it does not have comes from English.
Trait Implementations§
Source§impl Clone for AssistantLabels
impl Clone for AssistantLabels
Source§fn clone(&self) -> AssistantLabels
fn clone(&self) -> AssistantLabels
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 AssistantLabels
impl Debug for AssistantLabels
Auto Trait Implementations§
impl Freeze for AssistantLabels
impl RefUnwindSafe for AssistantLabels
impl Send for AssistantLabels
impl Sync for AssistantLabels
impl Unpin for AssistantLabels
impl UnsafeUnpin for AssistantLabels
impl UnwindSafe for AssistantLabels
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