pub struct Measure {
pub path: String,
pub bytes: u64,
pub lines: u64,
pub limits: Vec<Applied>,
pub over: bool,
}Expand description
What a file measures and the limits that apply to it, in the order they were read.
Fields§
§path: String§bytes: u64§lines: u64§limits: Vec<Applied>§over: boolWhether any limit is exceeded.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Measure
impl Freeze for Measure
impl Move for Measure
impl RefUnwindSafe for Measure
impl Send for Measurewhere
RawVecInner: Send,
impl Sync for Measurewhere
RawVecInner: Sync,
impl Unpin for Measure
impl UnsafeUnpin for Measurewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Applied>: UnsafeUnpin,
impl UnwindSafe for Measurewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more