pub struct LiveCaptureDiff {
pub schema_version: u32,
pub prior_capture_id: String,
pub new_capture_id: String,
pub changes: Vec<DiffEntry>,
pub runtime_uncertainty: Vec<DiffEntry>,
}Expand description
Machine-readable output of LiveCapture::diff.
Fields§
§schema_version: u32§prior_capture_id: String§new_capture_id: String§changes: Vec<DiffEntry>§runtime_uncertainty: Vec<DiffEntry>Runtime/gameplay uncertainty is intentionally separate from import/export changes and is always present for this workflow.
Implementations§
Source§impl LiveCaptureDiff
impl LiveCaptureDiff
pub fn to_json(&self) -> Result<String, LiveCaptureError>
pub fn human_summary(&self) -> String
Trait Implementations§
Source§impl Clone for LiveCaptureDiff
impl Clone for LiveCaptureDiff
Source§fn clone(&self) -> LiveCaptureDiff
fn clone(&self) -> LiveCaptureDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LiveCaptureDiff
impl Debug for LiveCaptureDiff
Source§impl<'de> Deserialize<'de> for LiveCaptureDiff
impl<'de> Deserialize<'de> for LiveCaptureDiff
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
impl Eq for LiveCaptureDiff
Source§impl PartialEq for LiveCaptureDiff
impl PartialEq for LiveCaptureDiff
Source§impl Serialize for LiveCaptureDiff
impl Serialize for LiveCaptureDiff
impl StructuralPartialEq for LiveCaptureDiff
Auto Trait Implementations§
impl Freeze for LiveCaptureDiff
impl RefUnwindSafe for LiveCaptureDiff
impl Send for LiveCaptureDiff
impl Sync for LiveCaptureDiff
impl Unpin for LiveCaptureDiff
impl UnsafeUnpin for LiveCaptureDiff
impl UnwindSafe for LiveCaptureDiff
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