pub struct ImageDraft {
pub source_url: Option<String>,
pub content_type: String,
pub bytes: RawBytes,
}Expand description
One image on its way into the store beside the event it arrives with, before the store mints either identifier.
It belongs to whatever print its event belongs to, which is why it names none of its own.
Fields§
§source_url: Option<String>Where it was fetched from, when it was fetched from somewhere.
content_type: StringThe content type it was served as.
bytes: RawBytesIts bytes, exactly as served.
Trait Implementations§
Source§impl Clone for ImageDraft
impl Clone for ImageDraft
Source§impl Debug for ImageDraft
impl Debug for ImageDraft
impl Eq for ImageDraft
Source§impl PartialEq for ImageDraft
impl PartialEq for ImageDraft
impl StructuralPartialEq for ImageDraft
Auto Trait Implementations§
impl Forget for ImageDraft
impl Freeze for ImageDraft
impl RefUnwindSafe for ImageDraft
impl Send for ImageDraft
impl Sync for ImageDraft
impl Unpin for ImageDraft
impl UnsafeUnpin for ImageDraft
impl UnwindSafe for ImageDraft
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