Struct distant_net::common::authentication::msg::Challenge
source · Expand description
Represents a challenge comprising a series of questions to be presented
Fields
questions: Vec<Question>options: HashMap<String, String>Trait Implementations
sourceimpl<'de> Deserialize<'de> for Challenge
impl<'de> Deserialize<'de> for Challenge
sourcefn 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
sourceimpl From<Challenge> for Authentication
impl From<Challenge> for Authentication
sourcefn from(original: Challenge) -> Authentication
fn from(original: Challenge) -> Authentication
Converts to this type from the input type.
impl Eq for Challenge
impl StructuralEq for Challenge
impl StructuralPartialEq for Challenge
Auto Trait Implementations
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnwindSafe for Challenge
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more