pub struct AdminGenerateLinkResponse {
pub action_link: String,
pub email_otp: Option<String>,
pub hashed_token: Option<String>,
pub verification_type: Option<String>,
pub redirect_to: Option<String>,
}Expand description
Response from admin generate link
Fields§
§action_link: String§email_otp: Option<String>§hashed_token: Option<String>§verification_type: Option<String>§redirect_to: Option<String>Implementations§
Source§impl AdminGenerateLinkResponse
impl AdminGenerateLinkResponse
Sourcepub fn builder() -> AdminGenerateLinkResponseBuilder<((), (), (), (), ())>
pub fn builder() -> AdminGenerateLinkResponseBuilder<((), (), (), (), ())>
Create a builder for building AdminGenerateLinkResponse.
On the builder, call .action_link(...), .email_otp(...)(optional), .hashed_token(...)(optional), .verification_type(...)(optional), .redirect_to(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of AdminGenerateLinkResponse.
Trait Implementations§
Source§impl Clone for AdminGenerateLinkResponse
impl Clone for AdminGenerateLinkResponse
Source§fn clone(&self) -> AdminGenerateLinkResponse
fn clone(&self) -> AdminGenerateLinkResponse
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdminGenerateLinkResponse
impl Debug for AdminGenerateLinkResponse
Source§impl<'de> Deserialize<'de> for AdminGenerateLinkResponse
impl<'de> Deserialize<'de> for AdminGenerateLinkResponse
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 AdminGenerateLinkResponse
impl RefUnwindSafe for AdminGenerateLinkResponse
impl Send for AdminGenerateLinkResponse
impl Sync for AdminGenerateLinkResponse
impl Unpin for AdminGenerateLinkResponse
impl UnwindSafe for AdminGenerateLinkResponse
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)