Struct ybc::ModalCloseMsg
source · pub struct ModalCloseMsg(pub String);
Expand description
A request to close a modal instance by ID.
The ID provided in this message must match the ID of the modal which is to be closed, else the message will be ignored.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for ModalCloseMsg
impl Clone for ModalCloseMsg
source§fn clone(&self) -> ModalCloseMsg
fn clone(&self) -> ModalCloseMsg
Returns a copy 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 ModalCloseMsg
impl Debug for ModalCloseMsg
source§impl<'de> Deserialize<'de> for ModalCloseMsg
impl<'de> Deserialize<'de> for ModalCloseMsg
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 RefUnwindSafe for ModalCloseMsg
impl Send for ModalCloseMsg
impl Sync for ModalCloseMsg
impl Unpin for ModalCloseMsg
impl UnwindSafe for ModalCloseMsg
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.