pub enum EventResponse {
Ok(Option<String>),
Err(String),
}
Expand description
A response to an event
Variants§
Trait Implementations§
Source§impl Clone for EventResponse
impl Clone for EventResponse
Source§fn clone(&self) -> EventResponse
fn clone(&self) -> EventResponse
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 EventResponse
impl Debug for EventResponse
Source§impl<'de> Deserialize<'de> for EventResponse
impl<'de> Deserialize<'de> for EventResponse
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
Source§impl Display for EventResponse
impl Display for EventResponse
Source§impl Ord for EventResponse
impl Ord for EventResponse
Source§fn cmp(&self, other: &EventResponse) -> Ordering
fn cmp(&self, other: &EventResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EventResponse
impl PartialEq for EventResponse
Source§impl PartialOrd for EventResponse
impl PartialOrd for EventResponse
Source§impl Serialize for EventResponse
impl Serialize for EventResponse
impl Eq for EventResponse
impl StructuralPartialEq for EventResponse
Auto Trait Implementations§
impl Freeze for EventResponse
impl RefUnwindSafe for EventResponse
impl Send for EventResponse
impl Sync for EventResponse
impl Unpin for EventResponse
impl UnwindSafe for EventResponse
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