pub struct SyncOperation {
pub id: Uuid,
pub source_node: Uuid,
pub target_node: Uuid,
pub data_type: String,
pub data: Value,
pub status: SyncStatus,
pub created_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
Sync operation
Fields§
§id: Uuid§source_node: Uuid§target_node: Uuid§data_type: String§data: Value§status: SyncStatus§created_at: DateTime<Utc>§completed_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for SyncOperation
impl Clone for SyncOperation
Source§impl Debug for SyncOperation
impl Debug for SyncOperation
Source§impl<'de> Deserialize<'de> for SyncOperation
impl<'de> Deserialize<'de> for SyncOperation
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 SyncOperation
impl RefUnwindSafe for SyncOperation
impl Send for SyncOperation
impl Sync for SyncOperation
impl Unpin for SyncOperation
impl UnsafeUnpin for SyncOperation
impl UnwindSafe for SyncOperation
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