pub struct AlbumFilesPage {
pub success: bool,
pub files: Vec<AlbumFile>,
pub count: u64,
pub albums: HashMap<String, String>,
pub base_domain: Option<Url>,
}Expand description
Page of files returned by the album listing endpoint.
This type represents a single response page; the API currently returns at most 25 files per
request and provides a total count for pagination.
Fields§
§success: boolWhether the API request was successful.
files: Vec<AlbumFile>Files returned for the requested page.
count: u64Total number of files in the album (across all pages).
albums: HashMap<String, String>Album mapping returned by the service (keyed by album id as a string).
base_domain: Option<Url>Base domain returned by the service (parsed as a URL).
Note: the API omits this field for empty albums, so it can be None.
Trait Implementations§
Source§impl Clone for AlbumFilesPage
impl Clone for AlbumFilesPage
Source§fn clone(&self) -> AlbumFilesPage
fn clone(&self) -> AlbumFilesPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlbumFilesPage
impl Debug for AlbumFilesPage
Source§impl PartialEq for AlbumFilesPage
impl PartialEq for AlbumFilesPage
impl Eq for AlbumFilesPage
impl StructuralPartialEq for AlbumFilesPage
Auto Trait Implementations§
impl Freeze for AlbumFilesPage
impl RefUnwindSafe for AlbumFilesPage
impl Send for AlbumFilesPage
impl Sync for AlbumFilesPage
impl Unpin for AlbumFilesPage
impl UnsafeUnpin for AlbumFilesPage
impl UnwindSafe for AlbumFilesPage
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