pub struct BurstGroupRecord {
pub id: i64,
pub start_time: String,
pub end_time: String,
pub photo_count: i64,
pub cover_thumbnail_paths: Vec<String>,
pub cover_photo_ids: Vec<i64>,
pub member_photo_ids: Vec<i64>,
}Expand description
Burst group record
Fields§
§id: i64§start_time: String§end_time: String§photo_count: i64§cover_thumbnail_paths: Vec<String>Cover thumbnails (suggested-best first, then by date) — the listing card renders these as a horizontal filmstrip the user can click directly to open any photo in the viewer.
cover_photo_ids: Vec<i64>Photo IDs aligned 1:1 with cover_thumbnail_paths. Lets the
frontend wire each filmstrip thumb to a specific photo route
without an extra IPC roundtrip.
member_photo_ids: Vec<i64>Every member’s photo_id, in display order. Used to scope PhotoDetail’s prev/next arrows to this burst when the user clicks a thumb in the listing — they navigate within the burst, not the whole library.
Trait Implementations§
Source§impl Clone for BurstGroupRecord
impl Clone for BurstGroupRecord
Source§fn clone(&self) -> BurstGroupRecord
fn clone(&self) -> BurstGroupRecord
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 BurstGroupRecord
impl RefUnwindSafe for BurstGroupRecord
impl Send for BurstGroupRecord
impl Sync for BurstGroupRecord
impl Unpin for BurstGroupRecord
impl UnsafeUnpin for BurstGroupRecord
impl UnwindSafe for BurstGroupRecord
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> 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>
Converts
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>
Converts
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