pub struct SystemPopup {
pub id: String,
pub kind: String,
pub source: String,
pub title: String,
pub body: String,
pub buttons: Vec<SystemPopupButton>,
}Expand description
One system-popup discovered on the screen (alert / sheet / banner).
Fields§
§id: StringStable identifier for matching across polls.
kind: StringDiscriminator (e.g. "alert" / "sheet" / "banner").
source: StringOriginator (e.g. bundle id, system framework name).
title: StringPopup title text.
body: StringPopup body text.
Buttons available on the popup.
Trait Implementations§
Source§impl Clone for SystemPopup
impl Clone for SystemPopup
Source§fn clone(&self) -> SystemPopup
fn clone(&self) -> SystemPopup
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 SystemPopup
impl Debug for SystemPopup
Source§impl<'de> Deserialize<'de> for SystemPopup
impl<'de> Deserialize<'de> for SystemPopup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SystemPopup
impl RefUnwindSafe for SystemPopup
impl Send for SystemPopup
impl Sync for SystemPopup
impl Unpin for SystemPopup
impl UnsafeUnpin for SystemPopup
impl UnwindSafe for SystemPopup
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