Struct logins::LoginFields
source · pub struct LoginFields {
pub origin: String,
pub form_action_origin: Option<String>,
pub http_realm: Option<String>,
pub username_field: String,
pub password_field: String,
}
Fields§
§origin: String
§form_action_origin: Option<String>
§http_realm: Option<String>
§username_field: String
§password_field: String
Trait Implementations§
source§impl Clone for LoginFields
impl Clone for LoginFields
source§fn clone(&self) -> LoginFields
fn clone(&self) -> LoginFields
Returns a copy 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 LoginFields
impl Debug for LoginFields
source§impl Default for LoginFields
impl Default for LoginFields
source§fn default() -> LoginFields
fn default() -> LoginFields
Returns the “default value” for a type. Read more
source§impl Hash for LoginFields
impl Hash for LoginFields
source§impl PartialEq for LoginFields
impl PartialEq for LoginFields
source§fn eq(&self, other: &LoginFields) -> bool
fn eq(&self, other: &LoginFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValidateAndFixup for LoginFields
impl ValidateAndFixup for LoginFields
source§fn validate_and_fixup(&self, fixup: bool) -> Result<Option<Self>>
fn validate_and_fixup(&self, fixup: bool) -> Result<Option<Self>>
Internal helper for doing validation and fixups.
fn check_valid(&self) -> Result<()>where
Self: Sized,
fn fixup(self) -> Result<Self>where
Self: Sized,
fn maybe_fixup(&self) -> Result<Option<Self>>where
Self: Sized,
impl Eq for LoginFields
impl StructuralPartialEq for LoginFields
Auto Trait Implementations§
impl Freeze for LoginFields
impl RefUnwindSafe for LoginFields
impl Send for LoginFields
impl Sync for LoginFields
impl Unpin for LoginFields
impl UnwindSafe for LoginFields
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more