pub struct CheckContext { /* private fields */ }Implementations§
Source§impl CheckContext
impl CheckContext
pub fn new() -> Self
pub fn with_json(self, key: impl Into<String>, value: Value) -> Self
pub fn with_str(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn with_strs<I, S>(self, key: impl Into<String>, values: I) -> Self
pub fn get(&self, key: &str) -> Option<&Value>
Trait Implementations§
Source§impl Clone for CheckContext
impl Clone for CheckContext
Source§fn clone(&self) -> CheckContext
fn clone(&self) -> CheckContext
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 moreSource§impl Debug for CheckContext
impl Debug for CheckContext
Source§impl Default for CheckContext
impl Default for CheckContext
Source§fn default() -> CheckContext
fn default() -> CheckContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckContext
impl RefUnwindSafe for CheckContext
impl Send for CheckContext
impl Sync for CheckContext
impl Unpin for CheckContext
impl UnsafeUnpin for CheckContext
impl UnwindSafe for CheckContext
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