pub struct ListPage {
pub entries: Vec<ObjectEntry>,
pub common_prefixes: Vec<String>,
pub next_continuation_token: Option<String>,
pub is_truncated: bool,
pub prefix: String,
pub delimiter: Option<String>,
}Expand description
One page of ListObjectsV2 results.
next_continuation_token is Some when there are more pages; None on
the last page. The frontend drives infinite scroll by passing the token
back as continuation_token on the next call.
OCP: versions, owner, or other future fields can be added without
changing the existing frontend call sites.
Fields§
§entries: Vec<ObjectEntry>All entries for this page — objects and virtual-folder prefixes
interleaved (prefix entries carry is_prefix = true).
common_prefixes: Vec<String>Raw common-prefix strings from the S3 response, preserved separately for call sites that need the original split representation.
next_continuation_token: Option<String>Continuation token to pass on the next request. None = last page.
is_truncated: boolWhether S3 indicated the listing was truncated.
prefix: StringThe prefix used for this listing request.
delimiter: Option<String>The delimiter used for this listing request, if any.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListPage
impl<'de> Deserialize<'de> for ListPage
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>,
Auto Trait Implementations§
impl Freeze for ListPage
impl RefUnwindSafe for ListPage
impl Send for ListPage
impl Sync for ListPage
impl Unpin for ListPage
impl UnsafeUnpin for ListPage
impl UnwindSafe for ListPage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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