pub struct ResourcePage {
pub resources: Vec<ResourceSummary>,
pub may_have_more_results: bool,
}Expand description
A single page of resource-list results from the DSP-API.
Returned by [DspClient::list_resources]. The action accumulates pages
for --all mode; for single-page mode the action reads exactly one.
Fields§
§resources: Vec<ResourceSummary>The resources on this page (may be empty — the empty-final-page case is normal).
may_have_more_results: boolWhether the server reports more pages after this one.
false when the field is absent or false in the response — there are no
further pages. true means the caller should fetch the next page.
Trait Implementations§
Source§impl Clone for ResourcePage
impl Clone for ResourcePage
Source§fn clone(&self) -> ResourcePage
fn clone(&self) -> ResourcePage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResourcePage
impl RefUnwindSafe for ResourcePage
impl Send for ResourcePage
impl Sync for ResourcePage
impl Unpin for ResourcePage
impl UnsafeUnpin for ResourcePage
impl UnwindSafe for ResourcePage
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