pub struct MessageParams<'a> {
pub title: &'a str,
pub content: &'a str,
pub buttons: MessageButtons,
pub icons: MessageIcons,
}
Expand description
A structure that defines how a messagebox should look and behave.
Members:
title
: The title of the message boxcontent
: The message of the message boxbuttons
: The button of the message boxicons
: The message box icon
Fields§
§title: &'a str
§content: &'a str
§icons: MessageIcons
Trait Implementations§
Source§impl<'a> Clone for MessageParams<'a>
impl<'a> Clone for MessageParams<'a>
Source§fn clone(&self) -> MessageParams<'a>
fn clone(&self) -> MessageParams<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for MessageParams<'a>
impl<'a> Debug for MessageParams<'a>
Source§impl<'a> PartialEq for MessageParams<'a>
impl<'a> PartialEq for MessageParams<'a>
impl<'a> StructuralPartialEq for MessageParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for MessageParams<'a>
impl<'a> RefUnwindSafe for MessageParams<'a>
impl<'a> Send for MessageParams<'a>
impl<'a> Sync for MessageParams<'a>
impl<'a> Unpin for MessageParams<'a>
impl<'a> UnwindSafe for MessageParams<'a>
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