pub struct DataResult<T> {
pub data: Option<T>,
pub removable: Option<Vec<Box<dyn Equivalent>>>,
}Expand description
Represents the result of a data fetch operation. Contains either raw data bytes or paths to data files, along with items that can be removed.
Fields§
§data: Option<T>§removable: Option<Vec<Box<dyn Equivalent>>>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DataResult<T>where
T: Freeze,
impl<T> !RefUnwindSafe for DataResult<T>
impl<T> !Send for DataResult<T>
impl<T> !Sync for DataResult<T>
impl<T> Unpin for DataResult<T>where
T: Unpin,
impl<T> !UnwindSafe for DataResult<T>
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