Struct google_identitytoolkit3::api::EmailTemplate
source · pub struct EmailTemplate {
pub body: Option<String>,
pub format: Option<String>,
pub from: Option<String>,
pub from_display_name: Option<String>,
pub reply_to: Option<String>,
pub subject: Option<String>,
}
Expand description
Template for an email template.
This type is not used in any activity, and only used as part of another schema.
Fields§
§body: Option<String>
Email body.
format: Option<String>
Email body format.
from: Option<String>
From address of the email.
from_display_name: Option<String>
From display name.
reply_to: Option<String>
Reply-to address.
subject: Option<String>
Subject of the email.
Trait Implementations§
source§impl Clone for EmailTemplate
impl Clone for EmailTemplate
source§fn clone(&self) -> EmailTemplate
fn clone(&self) -> EmailTemplate
Returns a copy 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 EmailTemplate
impl Debug for EmailTemplate
source§impl Default for EmailTemplate
impl Default for EmailTemplate
source§fn default() -> EmailTemplate
fn default() -> EmailTemplate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EmailTemplate
impl<'de> Deserialize<'de> for EmailTemplate
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 Serialize for EmailTemplate
impl Serialize for EmailTemplate
impl Part for EmailTemplate
Auto Trait Implementations§
impl Freeze for EmailTemplate
impl RefUnwindSafe for EmailTemplate
impl Send for EmailTemplate
impl Sync for EmailTemplate
impl Unpin for EmailTemplate
impl UnwindSafe for EmailTemplate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more