pub struct Image<T = ()>where
T: Serialize + for<'de> Deserialize<'de>,{
pub id: Uuid,
pub url: String,
pub kind: ImageKind,
pub meta: T,
}Fields§
§id: Uuid§url: String§kind: ImageKind§meta: TTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Image<T>where
T: Freeze,
impl<T> RefUnwindSafe for Image<T>where
T: RefUnwindSafe,
impl<T> Send for Image<T>where
T: Send,
impl<T> Sync for Image<T>where
T: Sync,
impl<T> Unpin for Image<T>where
T: Unpin,
impl<T> UnwindSafe for Image<T>where
T: UnwindSafe,
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