pub struct ArtifactIndexPage {
pub rows: Vec<ArtifactIndexRow>,
pub next_after: Option<String>,
}Expand description
Response body for GET /api/v1/admin/index/{target}/{rustc_version}.
One keyset page of the slice’s servable artifact rows — the data
stow-admin index export assembles into the published
crate::index::ArtifactIndex.
Fields§
§rows: Vec<ArtifactIndexRow>Rows ordered by c_metadata, every one strictly after the
request’s after cursor and carrying a published bundle.
next_after: Option<String>The after cursor for the next page — the last row’s c_metadata
when this page was full, None once the slice is exhausted.
Trait Implementations§
Source§impl Clone for ArtifactIndexPage
impl Clone for ArtifactIndexPage
Source§impl ComposeSchema for ArtifactIndexPage
impl ComposeSchema for ArtifactIndexPage
Source§impl Debug for ArtifactIndexPage
impl Debug for ArtifactIndexPage
Source§impl<'de> Deserialize<'de> for ArtifactIndexPage
impl<'de> Deserialize<'de> for ArtifactIndexPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ArtifactIndexPage
Source§impl PartialEq for ArtifactIndexPage
impl PartialEq for ArtifactIndexPage
Source§impl Serialize for ArtifactIndexPage
impl Serialize for ArtifactIndexPage
impl StructuralPartialEq for ArtifactIndexPage
Auto Trait Implementations§
impl Freeze for ArtifactIndexPage
impl RefUnwindSafe for ArtifactIndexPage
impl Send for ArtifactIndexPage
impl Sync for ArtifactIndexPage
impl Unpin for ArtifactIndexPage
impl UnsafeUnpin for ArtifactIndexPage
impl UnwindSafe for ArtifactIndexPage
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.