pub struct SearchKeywordError {
pub raw: String,
pub expected: &'static [&'static str],
}Expand description
Text that matches no goal or aggregate.
Fields§
§raw: StringText as given.
expected: &'static [&'static str]Names that the keyword accepts.
Trait Implementations§
Source§impl Clone for SearchKeywordError
impl Clone for SearchKeywordError
Source§impl Debug for SearchKeywordError
impl Debug for SearchKeywordError
Source§impl Display for SearchKeywordError
impl Display for SearchKeywordError
impl Eq for SearchKeywordError
Source§impl Error for SearchKeywordError
impl Error for SearchKeywordError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SearchKeywordError
impl PartialEq for SearchKeywordError
impl StructuralPartialEq for SearchKeywordError
Auto Trait Implementations§
impl Freeze for SearchKeywordError
impl RefUnwindSafe for SearchKeywordError
impl Send for SearchKeywordError
impl Sync for SearchKeywordError
impl Unpin for SearchKeywordError
impl UnsafeUnpin for SearchKeywordError
impl UnwindSafe for SearchKeywordError
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