pub struct ChildrenParts {
pub others: Vec<ResourceSpec>,
pub kept: Rc<[Rc<ResourceSpec>]>,
pub items: Vec<ItemCollection>,
pub item_actions: Vec<ItemAction>,
}Expand description
Resource::children in the parts a publisher can keep between
versions (Resource::children_parts): children built afresh, children
kept while they are unchanged, then one per item of items carrying
item_actions (item_children).
Fields§
§others: Vec<ResourceSpec>The children before the kept ones, built afresh.
kept: Rc<[Rc<ResourceSpec>]>The record’s nested resources and derived ones
(crate::derived::published): the very same, and each the very
same, while they are unchanged, so a publisher holding what it built
of them keeps it.
items: Vec<ItemCollection>The record’s collections, each item with its label.
item_actions: Vec<ItemAction>The actions offered on items.
Auto Trait Implementations§
impl !RefUnwindSafe for ChildrenParts
impl !Send for ChildrenParts
impl !Sync for ChildrenParts
impl !UnwindSafe for ChildrenParts
impl Forget for ChildrenParts
impl Freeze for ChildrenParts
impl Move for ChildrenParts
impl Unpin for ChildrenParts
impl UnsafeUnpin for ChildrenParts
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