pub struct UiSnapshotRef {
pub format_version: u16,
pub context: UiContextRef,
pub node_count: u32,
pub byte_length: u64,
pub evidence: AssetRef,
}Expand description
Small Observation-side reference to a UI Tree Evidence object.
Fields§
§format_version: u16§context: UiContextRef§node_count: u32§byte_length: u64§evidence: AssetRefImplementations§
Source§impl UiSnapshotRef
impl UiSnapshotRef
pub fn validate(&self) -> Result<(), UiContractError>
Trait Implementations§
Source§impl Clone for UiSnapshotRef
impl Clone for UiSnapshotRef
Source§fn clone(&self) -> UiSnapshotRef
fn clone(&self) -> UiSnapshotRef
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 UiSnapshotRef
impl Debug for UiSnapshotRef
Source§impl<'de> Deserialize<'de> for UiSnapshotRef
impl<'de> Deserialize<'de> for UiSnapshotRef
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 UiSnapshotRef
Source§impl JsonSchema for UiSnapshotRef
impl JsonSchema for UiSnapshotRef
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for UiSnapshotRef
impl PartialEq for UiSnapshotRef
Source§impl Serialize for UiSnapshotRef
impl Serialize for UiSnapshotRef
impl StructuralPartialEq for UiSnapshotRef
Auto Trait Implementations§
impl Freeze for UiSnapshotRef
impl RefUnwindSafe for UiSnapshotRef
impl Send for UiSnapshotRef
impl Sync for UiSnapshotRef
impl Unpin for UiSnapshotRef
impl UnsafeUnpin for UiSnapshotRef
impl UnwindSafe for UiSnapshotRef
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