pub struct ImageSource {
pub reader: Box<dyn Read>,
pub length_hint: Option<u64>,
pub signature: Option<Vec<u8>>,
pub filename: String,
pub artifact_type: String,
}Fields§
§reader: Box<dyn Read>§length_hint: Option<u64>§signature: Option<Vec<u8>>§filename: String§artifact_type: StringAuto Trait Implementations§
impl Freeze for ImageSource
impl !RefUnwindSafe for ImageSource
impl !Send for ImageSource
impl !Sync for ImageSource
impl Unpin for ImageSource
impl !UnwindSafe for ImageSource
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