pub struct PlacedAction {
pub parent: String,
pub has_children: bool,
pub action: ActionDescriptor,
}Expand description
One exported operation of a surveyed forest, in the row it stands in: the resource of the level above it, and whether its own resource holds rows below it, which a listing asked with that resource as its parent answers.
Fields§
§parent: StringThe resource this row hangs under; empty at the top level.
has_children: boolWhether a query with this row’s resource as parent answers more rows.
action: ActionDescriptorTrait Implementations§
Source§impl Clone for PlacedAction
impl Clone for PlacedAction
Source§impl Debug for PlacedAction
impl Debug for PlacedAction
impl Eq for PlacedAction
Source§impl PartialEq for PlacedAction
impl PartialEq for PlacedAction
impl StructuralPartialEq for PlacedAction
Auto Trait Implementations§
impl Forget for PlacedAction
impl Freeze for PlacedAction
impl Move for PlacedAction
impl RefUnwindSafe for PlacedAction
impl Send for PlacedAction
impl Sync for PlacedAction
impl Unpin for PlacedAction
impl UnsafeUnpin for PlacedAction
impl UnwindSafe for PlacedAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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