pub enum ServerData {
Url {
url: SqrlUrl,
},
ServerResponse {
server_response: ServerResponse,
original_response: String,
},
}
Expand description
The previous server response to add to the next client request, or the SQRL url for the first request
Variants§
Url
During the first request sent to a server, the server data is set as the first SQRL protocol url used to auth against the server
ServerResponse
Any request after the first one includes the server response to the previous client request
Fields
§
server_response: ServerResponse
The parsed previous response to the client’s request
Implementations§
Source§impl ServerData
impl ServerData
Trait Implementations§
Source§impl Debug for ServerData
impl Debug for ServerData
Source§impl Display for ServerData
impl Display for ServerData
Source§impl PartialEq for ServerData
impl PartialEq for ServerData
impl StructuralPartialEq for ServerData
Auto Trait Implementations§
impl Freeze for ServerData
impl RefUnwindSafe for ServerData
impl Send for ServerData
impl Sync for ServerData
impl Unpin for ServerData
impl UnwindSafe for ServerData
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