pub struct GenerateLinkParams {
pub link_type: GenerateLinkType,
pub email: String,
pub password: Option<String>,
pub data: Option<Value>,
pub redirect_to: Option<String>,
}Expand description
Parameters for generating a link (admin).
Fields§
§link_type: GenerateLinkType§email: String§password: Option<String>§data: Option<Value>§redirect_to: Option<String>Trait Implementations§
Source§impl Clone for GenerateLinkParams
impl Clone for GenerateLinkParams
Source§fn clone(&self) -> GenerateLinkParams
fn clone(&self) -> GenerateLinkParams
Returns a duplicate 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 GenerateLinkParams
impl Debug for GenerateLinkParams
Auto Trait Implementations§
impl Freeze for GenerateLinkParams
impl RefUnwindSafe for GenerateLinkParams
impl Send for GenerateLinkParams
impl Sync for GenerateLinkParams
impl Unpin for GenerateLinkParams
impl UnsafeUnpin for GenerateLinkParams
impl UnwindSafe for GenerateLinkParams
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