pub struct AlbumRow {
pub id: String,
pub name: String,
pub created_at: i64,
pub modified_at: i64,
pub cover_asset_id: Option<String>,
}Expand description
A user-defined album. Membership is tracked via assets.album_id
(one album per asset, per the filesystem design doc).
Fields§
§id: String§name: String§created_at: i64§modified_at: i64§cover_asset_id: Option<String>Trait Implementations§
impl StructuralPartialEq for AlbumRow
Auto Trait Implementations§
impl Freeze for AlbumRow
impl RefUnwindSafe for AlbumRow
impl Send for AlbumRow
impl Sync for AlbumRow
impl Unpin for AlbumRow
impl UnsafeUnpin for AlbumRow
impl UnwindSafe for AlbumRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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