pub struct Identity {
pub directory: PathBuf,
pub screens: Vec<String>,
pub routes: Vec<ListedRoute>,
pub mounts: Vec<RouteMount>,
pub shipped: Vec<ShippedScreen>,
pub features: Vec<String>,
}Fields§
§directory: PathBuf§screens: Vec<String>§routes: Vec<ListedRoute>§mounts: Vec<RouteMount>§shipped: Vec<ShippedScreen>§features: Vec<String>Implementations§
Source§impl Identity
impl Identity
Sourcepub fn code(&self) -> Result<Code, ModelError>
pub fn code(&self) -> Result<Code, ModelError>
Read on demand: only explain needs sofie-identity’s handlers.
Source§impl Identity
impl Identity
Sourcepub fn screen_routes(&self) -> Result<Vec<ScreenRoute>, ModelError>
pub fn screen_routes(&self) -> Result<Vec<ScreenRoute>, ModelError>
Read on demand: only explain needs them.
Sourcepub fn mounted_screens(&self, area: &KnownArea<'_>) -> Vec<MountedScreen<'_>>
pub fn mounted_screens(&self, area: &KnownArea<'_>) -> Vec<MountedScreen<'_>>
The shipped screens of the routes the app’s code mounts in area.
Trait Implementations§
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Forget for Identity
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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