pub struct UserInputRequest<'a> {
pub request_id: u32,
pub message: NotificationMessage<'a>,
pub responses: Vec<ClientResponse<'a>>,
}
Fields§
§request_id: u32
§message: NotificationMessage<'a>
An interpretable message by the notification system.
responses: Vec<ClientResponse<'a>>
If a response is required from the user they can be chosen from this list.
Implementations§
Source§impl UserInputRequest<'_>
impl UserInputRequest<'_>
pub fn into_owned(self) -> UserInputRequest<'static>
Trait Implementations§
Source§impl<'a> Clone for UserInputRequest<'a>
impl<'a> Clone for UserInputRequest<'a>
Source§fn clone(&self) -> UserInputRequest<'a>
fn clone(&self) -> UserInputRequest<'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 UserInputRequest<'a>
impl<'a> Debug for UserInputRequest<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for UserInputRequest<'a>
impl<'de: 'a, 'a> Deserialize<'de> for UserInputRequest<'a>
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<'a> Freeze for UserInputRequest<'a>
impl<'a> RefUnwindSafe for UserInputRequest<'a>
impl<'a> Send for UserInputRequest<'a>
impl<'a> Sync for UserInputRequest<'a>
impl<'a> Unpin for UserInputRequest<'a>
impl<'a> UnwindSafe for UserInputRequest<'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