pub struct AppUiSurface {
pub id: String,
pub slot: String,
pub entry: String,
pub title: String,
pub order: i32,
pub requires: AppUiRequirements,
}Expand description
A UI unit an app contributes to a named region of the shell’s own chrome.
Not a route: it has no nav entry, and it is mounted by the shell rather than
by any stage. requires is the surface’s OWN authorization scope — the
primary containment control, since a surface otherwise receives the same
StageContext a stage receives. A wallet chip declares wallet.balance.get
and is refused wallet.payment.send even though the app provides it.
Fields§
§id: String§slot: String§entry: String§title: String§order: i32§requires: AppUiRequirementsTrait Implementations§
Source§impl Clone for AppUiSurface
impl Clone for AppUiSurface
Source§fn clone(&self) -> AppUiSurface
fn clone(&self) -> AppUiSurface
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 AppUiSurface
impl Debug for AppUiSurface
Source§impl<'de> Deserialize<'de> for AppUiSurface
impl<'de> Deserialize<'de> for AppUiSurface
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 AppUiSurface
Source§impl PartialEq for AppUiSurface
impl PartialEq for AppUiSurface
Source§impl Serialize for AppUiSurface
impl Serialize for AppUiSurface
impl StructuralPartialEq for AppUiSurface
Auto Trait Implementations§
impl Freeze for AppUiSurface
impl RefUnwindSafe for AppUiSurface
impl Send for AppUiSurface
impl Sync for AppUiSurface
impl Unpin for AppUiSurface
impl UnsafeUnpin for AppUiSurface
impl UnwindSafe for AppUiSurface
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