pub struct ChallengeFields(/* private fields */);
Expand description
A representation of the challenge fields
Implementations§
Source§impl ChallengeFields
impl ChallengeFields
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
pub fn get(&self, k: &str) -> Option<&String>
pub fn contains_key(&self, k: &str) -> bool
pub fn get_mut(&mut self, k: &str) -> Option<&mut String>
pub fn insert(&mut self, k: String, v: String) -> Option<String>
pub fn insert_quoting(&mut self, k: String, v: String) -> Option<String>
pub fn insert_static(&mut self, k: &'static str, v: String) -> Option<String>
pub fn insert_static_quoting( &mut self, k: &'static str, v: String, ) -> Option<String>
pub fn remove(&mut self, k: &str) -> Option<String>
Trait Implementations§
Source§impl Clone for ChallengeFields
impl Clone for ChallengeFields
Source§fn clone(&self) -> ChallengeFields
fn clone(&self) -> ChallengeFields
Returns a duplicate 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 ChallengeFields
impl Debug for ChallengeFields
Source§impl Default for ChallengeFields
impl Default for ChallengeFields
Source§impl PartialEq for ChallengeFields
impl PartialEq for ChallengeFields
impl Eq for ChallengeFields
impl StructuralPartialEq for ChallengeFields
Auto Trait Implementations§
impl Freeze for ChallengeFields
impl RefUnwindSafe for ChallengeFields
impl Send for ChallengeFields
impl Sync for ChallengeFields
impl Unpin for ChallengeFields
impl UnwindSafe for ChallengeFields
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