pub struct UiContextRef {
pub context_kind: UiContextKind,
pub context_id: String,
pub document_epoch: String,
}Expand description
Full identity of one UI context (DeviceRail UiContextRef, spine A.8).
documentEpoch changes on navigation/reconnect and invalidates prior
node references.
Fields§
§context_kind: UiContextKindNative accessibility or web document context.
context_id: StringProvider-scoped context id.
document_epoch: StringEpoch token; a mismatch means prior UiNodeRefs are stale.
Trait Implementations§
Source§impl Clone for UiContextRef
impl Clone for UiContextRef
Source§fn clone(&self) -> UiContextRef
fn clone(&self) -> UiContextRef
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 UiContextRef
impl Debug for UiContextRef
Source§impl<'de> Deserialize<'de> for UiContextRef
impl<'de> Deserialize<'de> for UiContextRef
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
Source§impl JsonSchema for UiContextRef
impl JsonSchema for UiContextRef
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 UiContextRef
impl PartialEq for UiContextRef
Source§impl Serialize for UiContextRef
impl Serialize for UiContextRef
impl StructuralPartialEq for UiContextRef
Auto Trait Implementations§
impl Freeze for UiContextRef
impl RefUnwindSafe for UiContextRef
impl Send for UiContextRef
impl Sync for UiContextRef
impl Unpin for UiContextRef
impl UnsafeUnpin for UiContextRef
impl UnwindSafe for UiContextRef
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