pub struct Resolved {
pub app_id: String,
pub provider: String,
pub path: String,
pub node: Option<Node>,
pub actions: Vec<ActionDescriptor>,
pub children: Vec<Node>,
pub chain: Vec<Node>,
pub levels: Levels,
pub revision: String,
}Expand description
A path resolved against the live directory.
Fields§
§app_id: String§provider: String§path: StringWritten back as a path: the app and the names down to the target.
node: Option<Node>The target resource; None for the app itself.
actions: Vec<ActionDescriptor>Actions on the target (the app’s root actions for the app itself).
children: Vec<Node>Its children (the app’s resources for the app itself).
chain: Vec<Node>The nodes this resolution passed through, root first.
levels: LevelsThe directory levels the resolution read, which what the call does next (finding the action that reads the target) reads again from here rather than asking the app twice.
revision: StringThe directory revision the target was found at.
Auto Trait Implementations§
impl Forget for Resolved
impl Freeze for Resolved
impl Move for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more