pub struct ResponseEntry<T> {
pub id: EntryId,
pub operation: T,
}
Expand description
An entry in a history that represents the response from an operation.
Fields§
§id: EntryId
The identifier for this ResponseEntry
.
operation: T
The operation being responded to.
Trait Implementations§
Source§impl<T: Clone> Clone for ResponseEntry<T>
impl<T: Clone> Clone for ResponseEntry<T>
Source§fn clone(&self) -> ResponseEntry<T>
fn clone(&self) -> ResponseEntry<T>
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<T: Debug> Debug for ResponseEntry<T>
impl<T: Debug> Debug for ResponseEntry<T>
Source§impl<T: PartialEq> PartialEq for ResponseEntry<T>
impl<T: PartialEq> PartialEq for ResponseEntry<T>
impl<T: Eq> Eq for ResponseEntry<T>
impl<T> StructuralPartialEq for ResponseEntry<T>
Auto Trait Implementations§
impl<T> Freeze for ResponseEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for ResponseEntry<T>where
T: RefUnwindSafe,
impl<T> Send for ResponseEntry<T>where
T: Send,
impl<T> Sync for ResponseEntry<T>where
T: Sync,
impl<T> Unpin for ResponseEntry<T>where
T: Unpin,
impl<T> UnwindSafe for ResponseEntry<T>where
T: UnwindSafe,
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