pub struct ArtworkReply {
pub content_type: String,
pub length: u64,
pub etag: String,
}Expand description
What follows on the stream.
Fields§
§content_type: Stringe.g. image/jpeg.
length: u64How many bytes of image follow this frame.
etag: StringStable for this (id, size): artwork ids change when the image
does, so a client may keep its own copy under this key.
Trait Implementations§
Source§impl Clone for ArtworkReply
impl Clone for ArtworkReply
Source§impl Debug for ArtworkReply
impl Debug for ArtworkReply
Source§impl<'de> Deserialize<'de> for ArtworkReply
impl<'de> Deserialize<'de> for ArtworkReply
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 ArtworkReply
Source§impl PartialEq for ArtworkReply
impl PartialEq for ArtworkReply
Source§impl Serialize for ArtworkReply
impl Serialize for ArtworkReply
impl StructuralPartialEq for ArtworkReply
Auto Trait Implementations§
impl Freeze for ArtworkReply
impl RefUnwindSafe for ArtworkReply
impl Send for ArtworkReply
impl Sync for ArtworkReply
impl Unpin for ArtworkReply
impl UnsafeUnpin for ArtworkReply
impl UnwindSafe for ArtworkReply
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