#[non_exhaustive]pub struct GetTemplateOutputBuilder { /* private fields */ }Expand description
A builder for GetTemplateOutput.
Implementations§
source§impl GetTemplateOutputBuilder
impl GetTemplateOutputBuilder
sourcepub fn template(self, input: Template) -> Self
pub fn template(self, input: Template) -> Self
The content of the email, composed of a subject line and either an HTML part or a text-only part.
sourcepub fn set_template(self, input: Option<Template>) -> Self
pub fn set_template(self, input: Option<Template>) -> Self
The content of the email, composed of a subject line and either an HTML part or a text-only part.
sourcepub fn get_template(&self) -> &Option<Template>
pub fn get_template(&self) -> &Option<Template>
The content of the email, composed of a subject line and either an HTML part or a text-only part.
sourcepub fn build(self) -> GetTemplateOutput
pub fn build(self) -> GetTemplateOutput
Consumes the builder and constructs a GetTemplateOutput.
Trait Implementations§
source§impl Clone for GetTemplateOutputBuilder
impl Clone for GetTemplateOutputBuilder
source§fn clone(&self) -> GetTemplateOutputBuilder
fn clone(&self) -> GetTemplateOutputBuilder
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 GetTemplateOutputBuilder
impl Debug for GetTemplateOutputBuilder
source§impl Default for GetTemplateOutputBuilder
impl Default for GetTemplateOutputBuilder
source§fn default() -> GetTemplateOutputBuilder
fn default() -> GetTemplateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetTemplateOutputBuilder
impl PartialEq for GetTemplateOutputBuilder
source§fn eq(&self, other: &GetTemplateOutputBuilder) -> bool
fn eq(&self, other: &GetTemplateOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetTemplateOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetTemplateOutputBuilder
impl Send for GetTemplateOutputBuilder
impl Sync for GetTemplateOutputBuilder
impl Unpin for GetTemplateOutputBuilder
impl UnwindSafe for GetTemplateOutputBuilder
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> 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>
Creates a shared type from an unshared type.