pub enum ChatDelegateRequestMsg {
StoreRequest {
key: ChatDelegateKey,
value: Vec<u8>,
},
GetRequest {
key: ChatDelegateKey,
},
DeleteRequest {
key: ChatDelegateKey,
},
ListRequest,
}Expand description
Messages sent from the App to the Chat Delegate
Variants§
StoreRequest
GetRequest
Fields
§
key: ChatDelegateKeyDeleteRequest
Fields
§
key: ChatDelegateKeyListRequest
Trait Implementations§
Source§impl Clone for ChatDelegateRequestMsg
impl Clone for ChatDelegateRequestMsg
Source§fn clone(&self) -> ChatDelegateRequestMsg
fn clone(&self) -> ChatDelegateRequestMsg
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 ChatDelegateRequestMsg
impl Debug for ChatDelegateRequestMsg
Source§impl<'de> Deserialize<'de> for ChatDelegateRequestMsg
impl<'de> Deserialize<'de> for ChatDelegateRequestMsg
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 ChatDelegateRequestMsg
impl RefUnwindSafe for ChatDelegateRequestMsg
impl Send for ChatDelegateRequestMsg
impl Sync for ChatDelegateRequestMsg
impl Unpin for ChatDelegateRequestMsg
impl UnwindSafe for ChatDelegateRequestMsg
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