Struct rxqlite_lite_common::ClientWriteResponse
source · pub struct ClientWriteResponse<Resp = MessageResponse> {
pub log_id: LogId,
pub data: Option<Resp>,
pub membership: Option<Membership>,
}Expand description
The response to a client-request.
Fields§
§log_id: LogIdThe id of the log that is applied.
data: Option<Resp>Application specific response data.
membership: Option<Membership>If the log entry is a change-membership entry.
Trait Implementations§
source§impl<'de, Resp> Deserialize<'de> for ClientWriteResponse<Resp>where
Resp: Deserialize<'de>,
impl<'de, Resp> Deserialize<'de> for ClientWriteResponse<Resp>where
Resp: 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
Auto Trait Implementations§
impl<Resp> Freeze for ClientWriteResponse<Resp>where
Resp: Freeze,
impl<Resp> RefUnwindSafe for ClientWriteResponse<Resp>where
Resp: RefUnwindSafe,
impl<Resp> Send for ClientWriteResponse<Resp>where
Resp: Send,
impl<Resp> Sync for ClientWriteResponse<Resp>where
Resp: Sync,
impl<Resp> Unpin for ClientWriteResponse<Resp>where
Resp: Unpin,
impl<Resp> UnwindSafe for ClientWriteResponse<Resp>where
Resp: 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