pub struct ActionEvent {
pub kind: String,
pub component: String,
pub detail: String,
pub data: String,
}Expand description
O que volta de uma ação executada pela plataforma.
Fields§
§kind: Stringopen (o app abriu pela ação), button (um botão da notificação), click (o corpo
da notificação), timeout (passou o tempo sem resposta) ou trigger (uma regra do
push disparou).
component: StringO caminho do componente (frmPrincipal.wake1; o PushTrigger no trigger).
detail: StringO id do botão (no button).
data: StringOs dados da mensagem (JSON).
Trait Implementations§
Source§impl Clone for ActionEvent
impl Clone for ActionEvent
Source§impl Debug for ActionEvent
impl Debug for ActionEvent
impl Eq for ActionEvent
Source§impl PartialEq for ActionEvent
impl PartialEq for ActionEvent
impl StructuralPartialEq for ActionEvent
Auto Trait Implementations§
impl Forget for ActionEvent
impl Freeze for ActionEvent
impl Move for ActionEvent
impl RefUnwindSafe for ActionEvent
impl Send for ActionEventwhere
RawVecInner: Send,
impl Sync for ActionEventwhere
RawVecInner: Sync,
impl Unpin for ActionEvent
impl UnsafeUnpin for ActionEvent
impl UnwindSafe for ActionEventwhere
RawVecInner: UnwindSafe,
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