pub struct RemoteCallResult<T> {
pub operation: String,
pub request_id: String,
pub payload: T,
}Expand description
RemoteCallResult data container.
Fields§
§operation: Stringoperation field for operation.
request_id: Stringrequest_id field for request id.
payload: Tpayload field for payload.
Trait Implementations§
Source§impl<T: Clone> Clone for RemoteCallResult<T>
impl<T: Clone> Clone for RemoteCallResult<T>
Source§fn clone(&self) -> RemoteCallResult<T>
fn clone(&self) -> RemoteCallResult<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 RemoteCallResult<T>
impl<T: Debug> Debug for RemoteCallResult<T>
Source§impl<T: PartialEq> PartialEq for RemoteCallResult<T>
impl<T: PartialEq> PartialEq for RemoteCallResult<T>
impl<T: Eq> Eq for RemoteCallResult<T>
impl<T> StructuralPartialEq for RemoteCallResult<T>
Auto Trait Implementations§
impl<T> Freeze for RemoteCallResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for RemoteCallResult<T>where
T: RefUnwindSafe,
impl<T> Send for RemoteCallResult<T>where
T: Send,
impl<T> Sync for RemoteCallResult<T>where
T: Sync,
impl<T> Unpin for RemoteCallResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for RemoteCallResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RemoteCallResult<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.