pub enum FetchPolicy {
MetadataOnly,
Eager,
GeoFiltered {
min_lat: f64,
max_lat: f64,
min_lon: f64,
max_lon: f64,
},
}Expand description
Determines what the indexer stores after receiving an announcement.
Variants§
MetadataOnly
Store only the metadata JSON blob; fetch the raw IGC on explicit request.
Eager
Fetch and store every announced raw IGC blob.
GeoFiltered
Fetch only flights whose bbox overlaps this geographic region.
Trait Implementations§
Source§impl Clone for FetchPolicy
impl Clone for FetchPolicy
Source§fn clone(&self) -> FetchPolicy
fn clone(&self) -> FetchPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FetchPolicy
impl RefUnwindSafe for FetchPolicy
impl Send for FetchPolicy
impl Sync for FetchPolicy
impl Unpin for FetchPolicy
impl UnsafeUnpin for FetchPolicy
impl UnwindSafe for FetchPolicy
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