pub struct DuplicateGroupRecord {
pub id: i64,
pub member_count: i64,
pub cover_thumbnail_path: Option<String>,
pub cover_photo_id: Option<i64>,
pub member_photo_ids: Vec<i64>,
}Expand description
Duplicate group record
Fields§
§id: i64§member_count: i64§cover_thumbnail_path: Option<String>Relative thumbnail path of one member — the suggested-keep when set, otherwise the first member by photo id. The listing UI shows this as the group’s cover so the user can recognise the photo at a glance instead of just seeing “Group of 4”.
cover_photo_id: Option<i64>Photo id matching the cover_thumbnail_path. Lets the listing
route directly to the photo viewer on click (which then uses
member_photo_ids as its prev/next scope).
member_photo_ids: Vec<i64>All members in display order — same scope used by PhotoDetail’s arrow navigation when the user clicks a thumb in the listing.
Trait Implementations§
Source§impl Clone for DuplicateGroupRecord
impl Clone for DuplicateGroupRecord
Source§fn clone(&self) -> DuplicateGroupRecord
fn clone(&self) -> DuplicateGroupRecord
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 DuplicateGroupRecord
impl RefUnwindSafe for DuplicateGroupRecord
impl Send for DuplicateGroupRecord
impl Sync for DuplicateGroupRecord
impl Unpin for DuplicateGroupRecord
impl UnsafeUnpin for DuplicateGroupRecord
impl UnwindSafe for DuplicateGroupRecord
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