Struct distant_net::common::authentication::msg::Question
source · Expand description
Represents a single question in a challenge associated with authentication
Fields
label: StringLabel associated with the question for more programmatic usage
text: StringThe text of the question (used for display purposes)
options: HashMap<String, String>Any options information specific to a particular auth domain such as including a username and instructions for SSH authentication
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Question
impl<'de> Deserialize<'de> for Question
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
impl Eq for Question
impl StructuralEq for Question
impl StructuralPartialEq for Question
Auto Trait Implementations
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnwindSafe for Question
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