pub struct OptimisticWrite {
pub id: String,
pub sql: String,
pub timestamp: f64,
pub status: OptimisticWriteStatus,
}Expand description
Represents a pending optimistic write
Fields§
§id: StringUnique ID for this write
sql: StringThe SQL statement
timestamp: f64Timestamp when added
status: OptimisticWriteStatusStatus of the write
Trait Implementations§
Source§impl Clone for OptimisticWrite
impl Clone for OptimisticWrite
Source§fn clone(&self) -> OptimisticWrite
fn clone(&self) -> OptimisticWrite
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 OptimisticWrite
impl Debug for OptimisticWrite
Source§impl<'de> Deserialize<'de> for OptimisticWrite
impl<'de> Deserialize<'de> for OptimisticWrite
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 OptimisticWrite
impl RefUnwindSafe for OptimisticWrite
impl Send for OptimisticWrite
impl Sync for OptimisticWrite
impl Unpin for OptimisticWrite
impl UnwindSafe for OptimisticWrite
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