pub struct JsonDiscoveryResult {
pub found_files: Vec<JsonFileInfo>,
pub missing_required: Vec<JsonFileConfig>,
pub oversized_files: Vec<JsonFileInfo>,
pub unreadable_files: Vec<JsonFileInfo>,
pub total_size_bytes: u64,
}
Expand description
Result of JSON file discovery process
Fields§
§found_files: Vec<JsonFileInfo>
Successfully discovered files
missing_required: Vec<JsonFileConfig>
Missing required files
oversized_files: Vec<JsonFileInfo>
Files that exceed size limits
unreadable_files: Vec<JsonFileInfo>
Files that are not readable
total_size_bytes: u64
Total size of all discovered files in bytes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonDiscoveryResult
impl RefUnwindSafe for JsonDiscoveryResult
impl Send for JsonDiscoveryResult
impl Sync for JsonDiscoveryResult
impl Unpin for JsonDiscoveryResult
impl UnwindSafe for JsonDiscoveryResult
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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