pub struct RouteLeg {
pub strategy: RetrievalStrategy,
pub limit: usize,
pub filter: Option<LegFilter>,
}Expand description
A single retrieval leg within a route plan.
Fields§
§strategy: RetrievalStrategyWhat this leg retrieves.
limit: usizeMaximum results for this leg.
filter: Option<LegFilter>Optional filter applied to this leg.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteLeg
impl<'de> Deserialize<'de> for RouteLeg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RouteLeg
impl RefUnwindSafe for RouteLeg
impl Send for RouteLeg
impl Sync for RouteLeg
impl Unpin for RouteLeg
impl UnsafeUnpin for RouteLeg
impl UnwindSafe for RouteLeg
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