pub struct SearchOpts {
pub cost_threshold: Option<i32>,
pub end_on_unstoppable: bool,
pub path_to_threshold: bool,
pub path_adjacent: bool,
}
Fields§
§cost_threshold: Option<i32>
§end_on_unstoppable: bool
§path_to_threshold: bool
§path_adjacent: bool
Trait Implementations§
Source§impl Default for SearchOpts
impl Default for SearchOpts
Source§fn default() -> SearchOpts
fn default() -> SearchOpts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchOpts
impl<'de> Deserialize<'de> for SearchOpts
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 SearchOpts
impl RefUnwindSafe for SearchOpts
impl Send for SearchOpts
impl Sync for SearchOpts
impl Unpin for SearchOpts
impl UnwindSafe for SearchOpts
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