#[non_exhaustive]pub struct SlicePage {
pub slice: Slice,
pub members: Vec<Answer>,
pub next: Option<String>,
}Expand description
A slice page (5.6): the ok answer of the slice endpoint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.slice: SliceThe slice object requested, with the function hash its name resolved to (or the pin).
members: Vec<Answer>The member envelopes, ok or stale, in ascending key order.
next: Option<String>The URL of the following page; None on the last.
Implementations§
Trait Implementations§
impl Eq for SlicePage
impl StructuralPartialEq for SlicePage
Auto Trait Implementations§
impl Freeze for SlicePage
impl RefUnwindSafe for SlicePage
impl Send for SlicePage
impl Sync for SlicePage
impl Unpin for SlicePage
impl UnsafeUnpin for SlicePage
impl UnwindSafe for SlicePage
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