pub struct Sample {
pub name: MeteredVec<u8>,
pub bytes: MeteredVec<u8>,
}Expand description
One sample export, retaining the charges for its raw UTF-8/surrogateescape filename bytes and file content. Callers apply their own path policy.
Fields§
§name: MeteredVec<u8>§bytes: MeteredVec<u8>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Sample
impl !UnwindSafe for Sample
impl Forget for Sample
impl Freeze for Sample
impl Move for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
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