Builds the conflict.
(self)
| 461 | |
| 462 | /// Builds the conflict. |
| 463 | pub fn build(self) -> CrdtConflict { |
| 464 | CrdtConflict { |
| 465 | kind: self.kind, |
| 466 | description: self |
| 467 | .description |
| 468 | .unwrap_or_else(|| self.kind.description().to_string()), |
| 469 | entity: self.entity, |
| 470 | other_entity: self.other_entity, |
| 471 | resolved: false, |
| 472 | resolution: None, |
| 473 | } |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | // CrdtConflictTracker |