pub struct PriorSurface {
pub surface_id: String,
pub catalog_id: Option<String>,
pub components: Vec<Component>,
pub data_model: Value,
pub deleted: bool,
}Expand description
A surface reconstructed from history.
Fields§
§surface_id: StringThe surface’s id, to reuse on update.
catalog_id: Option<String>The catalog it was created with. None if no createSurface was found,
which happens when history only retains later incremental updates.
components: Vec<Component>Components as they stood after the last operation, in first-definition order, with later definitions of the same id replacing earlier ones.
data_model: ValueThe data model after replaying every updateDataModel.
deleted: boolWhether the surface was deleted after being rendered.
Implementations§
Trait Implementations§
Source§impl Clone for PriorSurface
impl Clone for PriorSurface
Source§fn clone(&self) -> PriorSurface
fn clone(&self) -> PriorSurface
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 PriorSurface
impl Debug for PriorSurface
Source§impl PartialEq for PriorSurface
impl PartialEq for PriorSurface
Source§fn eq(&self, other: &PriorSurface) -> bool
fn eq(&self, other: &PriorSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PriorSurface
Auto Trait Implementations§
impl Freeze for PriorSurface
impl RefUnwindSafe for PriorSurface
impl Send for PriorSurface
impl Sync for PriorSurface
impl Unpin for PriorSurface
impl UnsafeUnpin for PriorSurface
impl UnwindSafe for PriorSurface
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