pub struct SolvingMode(/* private fields */);Expand description
Defines how the solver should handle the request. In all modes but
VALIDATE_ONLY, if the request is invalid, you will receive an
INVALID_REQUEST error. See
max_validation_errors
to cap the number of errors returned.
Implementations§
Trait Implementations§
Source§impl Clone for SolvingMode
impl Clone for SolvingMode
Source§fn clone(&self) -> SolvingMode
fn clone(&self) -> SolvingMode
Returns a copy 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 moreSource§impl Debug for SolvingMode
impl Debug for SolvingMode
Source§impl Default for SolvingMode
impl Default for SolvingMode
Source§fn default() -> SolvingMode
fn default() -> SolvingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SolvingMode
impl<'de> Deserialize<'de> for SolvingMode
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
Source§impl From<String> for SolvingMode
impl From<String> for SolvingMode
Source§impl PartialEq for SolvingMode
impl PartialEq for SolvingMode
Source§impl Serialize for SolvingMode
impl Serialize for SolvingMode
impl StructuralPartialEq for SolvingMode
Auto Trait Implementations§
impl Freeze for SolvingMode
impl RefUnwindSafe for SolvingMode
impl Send for SolvingMode
impl Sync for SolvingMode
impl Unpin for SolvingMode
impl UnwindSafe for SolvingMode
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