pub struct SuppliedSessionFormCredential { /* private fields */ }Expand description
Move-only username/password pair for one bounded form-login attempt.
Implementations§
Source§impl SuppliedSessionFormCredential
impl SuppliedSessionFormCredential
Sourcepub fn parse_tsv(
policy: &SuppliedSessionPolicy,
source: impl Into<Vec<u8>>,
) -> Result<Self, SuppliedSessionFormCredentialError>
pub fn parse_tsv( policy: &SuppliedSessionPolicy, source: impl Into<Vec<u8>>, ) -> Result<Self, SuppliedSessionFormCredentialError>
Parses exactly username<TAB>value and password<TAB>value rows.
Trait Implementations§
Source§impl From<SuppliedSessionFormCredential> for SuppliedSessionRuntimeInput
impl From<SuppliedSessionFormCredential> for SuppliedSessionRuntimeInput
Source§fn from(value: SuppliedSessionFormCredential) -> Self
fn from(value: SuppliedSessionFormCredential) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SuppliedSessionFormCredential
impl RefUnwindSafe for SuppliedSessionFormCredential
impl Send for SuppliedSessionFormCredential
impl Sync for SuppliedSessionFormCredential
impl Unpin for SuppliedSessionFormCredential
impl UnsafeUnpin for SuppliedSessionFormCredential
impl UnwindSafe for SuppliedSessionFormCredential
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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