pub struct NewResponse {
pub request_id: String,
pub challenges: Vec<String>,
}Expand description
Response to a NEW request — returns a request ID and available challenges.
Fields§
§request_id: StringOpaque request identifier (32 hex chars).
challenges: Vec<String>Challenge types the client may use.
Trait Implementations§
Source§impl Clone for NewResponse
impl Clone for NewResponse
Source§fn clone(&self) -> NewResponse
fn clone(&self) -> NewResponse
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 NewResponse
impl Debug for NewResponse
Source§impl<'de> Deserialize<'de> for NewResponse
impl<'de> Deserialize<'de> for NewResponse
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
Auto Trait Implementations§
impl Freeze for NewResponse
impl RefUnwindSafe for NewResponse
impl Send for NewResponse
impl Sync for NewResponse
impl Unpin for NewResponse
impl UnwindSafe for NewResponse
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