pub struct Reply<R> {
pub view: View,
pub id: RequestIdentifier,
pub payload: R,
}Fields§
§view: ViewThe current view of the replica.
id: RequestIdentifierClient-assigned number for the request.
payload: RThe response from the service after executing the operation.
Trait Implementations§
Source§impl<'de, R> Deserialize<'de> for Reply<R>where
R: Deserialize<'de>,
impl<'de, R> Deserialize<'de> for Reply<R>where
R: Deserialize<'de>,
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
impl<R: Eq> Eq for Reply<R>
impl<R> StructuralPartialEq for Reply<R>
Auto Trait Implementations§
impl<R> Freeze for Reply<R>where
R: Freeze,
impl<R> RefUnwindSafe for Reply<R>where
R: RefUnwindSafe,
impl<R> Send for Reply<R>where
R: Send,
impl<R> Sync for Reply<R>where
R: Sync,
impl<R> Unpin for Reply<R>where
R: Unpin,
impl<R> UnwindSafe for Reply<R>where
R: 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