PagedChangeSet
struct · ferroui-dynamic-data · v0.5.0
struct PagedChangeSet<T, K>
The changes of one page of a sorted cache, with the items of the page in order and the page
(PagedChangeSet<TObject, TKey>).
It dereferences to its ChangeSet, as upstream's derives from it.
Members
new
fn new(sorted_items: KeyValueCollection<T, K>, updates: ChangeSet<T, K>, response: PageResponse) -> Self
The changes updates of the page response, which holds sorted_items
(PagedChangeSet(IKeyValueCollection, IEnumerable<Change>, IPageResponse)).
empty
fn empty() -> Self
A change set without changes, of no page (PagedChangeSet<TObject, TKey>.Empty).
sorted_items
fn sorted_items(self: &Self) -> &KeyValueCollection<T, K>
The items of the page, sorted (SortedItems).
response
fn response(self: &Self) -> &PageResponse
The page (Response).
changes
fn changes(self: &Self) -> &ChangeSet<T, K>
The changes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedToStringCloneDefaultDerefIntoIteratorIChangeSet<T, K>ISortedChangeSet<T, K>IPagedChangeSet<T, K>PartialEqDisplayDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.