pub struct LoginCredentials {
pub password: String,
pub username: String,
pub extra: Map<String, Value>,
}Expand description
Password credentials. The same username may be a ChurchTools login name or an email address. LDAP is tried first when configured, followed by local authentication.
Fields§
§password: StringAccount password; preserve spaces exactly.
username: StringLogin name or email address.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for LoginCredentials
impl Clone for LoginCredentials
Source§impl Debug for LoginCredentials
impl Debug for LoginCredentials
Source§impl Default for LoginCredentials
impl Default for LoginCredentials
Source§impl<'de> Deserialize<'de> for LoginCredentials
impl<'de> Deserialize<'de> for LoginCredentials
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 PartialEq for LoginCredentials
impl PartialEq for LoginCredentials
Source§impl Serialize for LoginCredentials
impl Serialize for LoginCredentials
impl StructuralPartialEq for LoginCredentials
Auto Trait Implementations§
impl Freeze for LoginCredentials
impl RefUnwindSafe for LoginCredentials
impl Send for LoginCredentials
impl Sync for LoginCredentials
impl Unpin for LoginCredentials
impl UnsafeUnpin for LoginCredentials
impl UnwindSafe for LoginCredentials
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