pub enum RapCallback {
ToolResult(RapToolResult),
SubscriptionEvent(RapSubscriptionEvent),
OAuth(RapOAuth),
UserChoice(RapUserChoice),
ViewUpdate(RapViewUpdate),
}Expand description
Tagged enum for all RAP callback message types.
Variants§
ToolResult(RapToolResult)
SubscriptionEvent(RapSubscriptionEvent)
OAuth(RapOAuth)
UserChoice(RapUserChoice)
ViewUpdate(RapViewUpdate)
Trait Implementations§
Source§impl Clone for RapCallback
impl Clone for RapCallback
Source§impl Debug for RapCallback
impl Debug for RapCallback
Source§impl<'de> Deserialize<'de> for RapCallback
impl<'de> Deserialize<'de> for RapCallback
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 RapCallback
impl RefUnwindSafe for RapCallback
impl Send for RapCallback
impl Sync for RapCallback
impl Unpin for RapCallback
impl UnsafeUnpin for RapCallback
impl UnwindSafe for RapCallback
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