pub struct EntryPayload {
pub doc_id: Uuid,
pub op: EntryOp,
pub timestamp: u64,
}Expand description
The plaintext payload encrypted inside each EncValue.
After decryption the client learns the doc_id this entry refers to.
Fields§
§doc_id: Uuid§op: EntryOp§timestamp: u64Milliseconds since UNIX epoch — used for result ordering, never sent in clear.
Trait Implementations§
Source§impl Clone for EntryPayload
impl Clone for EntryPayload
Source§fn clone(&self) -> EntryPayload
fn clone(&self) -> EntryPayload
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 Debug for EntryPayload
impl Debug for EntryPayload
Source§impl<'de> Deserialize<'de> for EntryPayload
impl<'de> Deserialize<'de> for EntryPayload
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 Freeze for EntryPayload
impl RefUnwindSafe for EntryPayload
impl Send for EntryPayload
impl Sync for EntryPayload
impl Unpin for EntryPayload
impl UnsafeUnpin for EntryPayload
impl UnwindSafe for EntryPayload
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