pub struct SearchFlag(/* private fields */);Implementations§
Source§impl SearchFlag
impl SearchFlag
pub const fn is_enabled(self) -> bool
Trait Implementations§
Source§impl Clone for SearchFlag
impl Clone for SearchFlag
Source§fn clone(&self) -> SearchFlag
fn clone(&self) -> SearchFlag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SearchFlag
Source§impl Debug for SearchFlag
impl Debug for SearchFlag
Source§impl Default for SearchFlag
impl Default for SearchFlag
Source§fn default() -> SearchFlag
fn default() -> SearchFlag
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchFlag
impl<'de> Deserialize<'de> for SearchFlag
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
impl Eq for SearchFlag
Source§impl From<bool> for SearchFlag
impl From<bool> for SearchFlag
Source§impl JsonSchema for SearchFlag
impl JsonSchema for SearchFlag
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl PartialEq for SearchFlag
impl PartialEq for SearchFlag
Source§impl Serialize for SearchFlag
impl Serialize for SearchFlag
impl StructuralPartialEq for SearchFlag
Auto Trait Implementations§
impl Freeze for SearchFlag
impl RefUnwindSafe for SearchFlag
impl Send for SearchFlag
impl Sync for SearchFlag
impl Unpin for SearchFlag
impl UnsafeUnpin for SearchFlag
impl UnwindSafe for SearchFlag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.