pub struct InspectionReport {
pub path: String,
pub file_size: u64,
pub format: String,
pub extension: String,
pub is_cloud: bool,
pub crs: Option<String>,
pub raster: Option<RasterSummary>,
pub vector: Option<VectorSummary>,
}Expand description
Structured result of inspecting a single geospatial file.
Fields§
§path: StringThe path (or URI) that was inspected.
file_size: u64File size in bytes (0 for cloud URIs whose size is not locally known).
format: StringDetected format name (e.g. GeoTIFF, GeoJSON, or Unknown).
extension: StringLower-cased file extension without the leading dot (empty if none).
is_cloud: boolTrue when the path looks like a cloud URI (s3://, gs://, az://).
crs: Option<String>Coordinate reference system description, if discoverable.
raster: Option<RasterSummary>Raster structure summary, present only for raster formats.
vector: Option<VectorSummary>Vector structure summary, present only for vector formats.
Trait Implementations§
Source§impl Clone for InspectionReport
impl Clone for InspectionReport
Source§fn clone(&self) -> InspectionReport
fn clone(&self) -> InspectionReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InspectionReport
impl Debug for InspectionReport
Auto Trait Implementations§
impl Freeze for InspectionReport
impl RefUnwindSafe for InspectionReport
impl Send for InspectionReport
impl Sync for InspectionReport
impl Unpin for InspectionReport
impl UnsafeUnpin for InspectionReport
impl UnwindSafe for InspectionReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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