#[non_exhaustive]pub struct MovieChatLabels {
pub placeholder: String,
pub intro: String,
pub found: String,
pub nothing_found: String,
}Expand description
The words a MovieChat 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 field.
intro: StringWhat it says before the first question.
found: StringOver the moments that answer.
nothing_found: StringWhen no film answers the question.
Implementations§
Source§impl MovieChatLabels
impl MovieChatLabels
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 MovieChatLabels
impl Clone for MovieChatLabels
Source§fn clone(&self) -> MovieChatLabels
fn clone(&self) -> MovieChatLabels
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 MovieChatLabels
impl Debug for MovieChatLabels
Auto Trait Implementations§
impl Freeze for MovieChatLabels
impl RefUnwindSafe for MovieChatLabels
impl Send for MovieChatLabels
impl Sync for MovieChatLabels
impl Unpin for MovieChatLabels
impl UnsafeUnpin for MovieChatLabels
impl UnwindSafe for MovieChatLabels
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