pub struct Artwork {
pub id: ArtworkId,
pub kind: ArtworkKind,
}Expand description
A reference to artwork. Clients fetch the image through the client
protocol with the id.
Fields§
§id: ArtworkId§kind: ArtworkKindTrait Implementations§
Source§impl<'de> Deserialize<'de> for Artwork
impl<'de> Deserialize<'de> for Artwork
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Artwork
impl StructuralPartialEq for Artwork
Auto Trait Implementations§
impl Freeze for Artwork
impl RefUnwindSafe for Artwork
impl Send for Artwork
impl Sync for Artwork
impl Unpin for Artwork
impl UnsafeUnpin for Artwork
impl UnwindSafe for Artwork
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