pub struct RecoverBeginRequest {
pub email: String,
}Expand description
Starts magic-link account recovery. Always 204 (never leaks account existence).
JSON schema
{
"title": "RecoverBeginRequest",
"description": "Starts magic-link account recovery. Always 204 (never
leaks account existence).",
"examples": [
{
"email": "alice@harmont.dev"
}
],
"type": "object",
"required": [
"email"
],
"properties": {
"email": {
"description": "The email to recover access for.",
"type": "string"
}
}
}Fields§
§email: StringThe email to recover access for.
Trait Implementations§
Source§impl Clone for RecoverBeginRequest
impl Clone for RecoverBeginRequest
Source§fn clone(&self) -> RecoverBeginRequest
fn clone(&self) -> RecoverBeginRequest
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 RecoverBeginRequest
impl Debug for RecoverBeginRequest
Source§impl<'de> Deserialize<'de> for RecoverBeginRequest
impl<'de> Deserialize<'de> for RecoverBeginRequest
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
Auto Trait Implementations§
impl Freeze for RecoverBeginRequest
impl RefUnwindSafe for RecoverBeginRequest
impl Send for RecoverBeginRequest
impl Sync for RecoverBeginRequest
impl Unpin for RecoverBeginRequest
impl UnsafeUnpin for RecoverBeginRequest
impl UnwindSafe for RecoverBeginRequest
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