pub struct ModalCloseEvent {
pub callback_id: String,
pub view_id: String,
pub user: Author,
pub adapter_name: String,
}Expand description
A modal view was closed (dismissed) by a user without submitting.
Fields§
§callback_id: StringCallback identifier used to route this close event.
view_id: StringPlatform-assigned view identifier.
user: AuthorThe user who closed the modal.
adapter_name: StringName of the adapter that delivered this event.
Trait Implementations§
Source§impl Clone for ModalCloseEvent
impl Clone for ModalCloseEvent
Source§fn clone(&self) -> ModalCloseEvent
fn clone(&self) -> ModalCloseEvent
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 Debug for ModalCloseEvent
impl Debug for ModalCloseEvent
Source§impl<'de> Deserialize<'de> for ModalCloseEvent
impl<'de> Deserialize<'de> for ModalCloseEvent
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 ModalCloseEvent
impl RefUnwindSafe for ModalCloseEvent
impl Send for ModalCloseEvent
impl Sync for ModalCloseEvent
impl Unpin for ModalCloseEvent
impl UnsafeUnpin for ModalCloseEvent
impl UnwindSafe for ModalCloseEvent
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