pub struct ChangeAuthenticationRequest {
pub email: String,
pub old_password: Option<String>,
pub new_password: Option<String>,
pub default_context_id: Option<ContextId>,
}Fields§
§email: String§old_password: Option<String>§new_password: Option<String>§default_context_id: Option<ContextId>Implementations§
Source§impl ChangeAuthenticationRequest
impl ChangeAuthenticationRequest
pub fn new(email: String) -> ChangeAuthenticationRequest
Trait Implementations§
Source§impl Clone for ChangeAuthenticationRequest
impl Clone for ChangeAuthenticationRequest
Source§fn clone(&self) -> ChangeAuthenticationRequest
fn clone(&self) -> ChangeAuthenticationRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChangeAuthenticationRequest
impl Debug for ChangeAuthenticationRequest
Source§impl Default for ChangeAuthenticationRequest
impl Default for ChangeAuthenticationRequest
Source§fn default() -> ChangeAuthenticationRequest
fn default() -> ChangeAuthenticationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChangeAuthenticationRequest
impl<'de> Deserialize<'de> for ChangeAuthenticationRequest
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 ChangeAuthenticationRequest
impl PartialEq for ChangeAuthenticationRequest
Source§fn eq(&self, other: &ChangeAuthenticationRequest) -> bool
fn eq(&self, other: &ChangeAuthenticationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangeAuthenticationRequest
Auto Trait Implementations§
impl Freeze for ChangeAuthenticationRequest
impl RefUnwindSafe for ChangeAuthenticationRequest
impl Send for ChangeAuthenticationRequest
impl Sync for ChangeAuthenticationRequest
impl Unpin for ChangeAuthenticationRequest
impl UnsafeUnpin for ChangeAuthenticationRequest
impl UnwindSafe for ChangeAuthenticationRequest
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