pub struct InitializationResponse {
pub methods: Vec<String>,
}
Expand description
Represents a response to initialization to specify which authentication methods to pursue
Fields§
§methods: Vec<String>
Methods to use (in order as provided)
Trait Implementations§
Source§impl Clone for InitializationResponse
impl Clone for InitializationResponse
Source§fn clone(&self) -> InitializationResponse
fn clone(&self) -> InitializationResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InitializationResponse
impl Debug for InitializationResponse
Source§impl<'de> Deserialize<'de> for InitializationResponse
impl<'de> Deserialize<'de> for InitializationResponse
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
Source§impl From<InitializationResponse> for AuthenticationResponse
impl From<InitializationResponse> for AuthenticationResponse
Source§fn from(original: InitializationResponse) -> AuthenticationResponse
fn from(original: InitializationResponse) -> AuthenticationResponse
Converts to this type from the input type.
Source§impl PartialEq for InitializationResponse
impl PartialEq for InitializationResponse
Source§fn eq(&self, other: &InitializationResponse) -> bool
fn eq(&self, other: &InitializationResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for InitializationResponse
impl Serialize for InitializationResponse
impl Eq for InitializationResponse
impl StructuralPartialEq for InitializationResponse
Auto Trait Implementations§
impl Freeze for InitializationResponse
impl RefUnwindSafe for InitializationResponse
impl Send for InitializationResponse
impl Sync for InitializationResponse
impl Unpin for InitializationResponse
impl UnwindSafe for InitializationResponse
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