pub struct Service<T>{ /* private fields */ }
Available on crate feature
namespace-toolsozone
only.Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn create_template(&self, input: Input) -> Result<Output, Error>
pub async fn create_template(&self, input: Input) -> Result<Output, Error>
Administrative action to create a new, re-usable communication (email for now) template.
Sourcepub async fn delete_template(&self, input: Input) -> Result<(), Error>
pub async fn delete_template(&self, input: Input) -> Result<(), Error>
Delete a communication template.
Sourcepub async fn list_templates(&self) -> Result<Output, Error>
pub async fn list_templates(&self) -> Result<Output, Error>
Get list of all communication templates.
Auto Trait Implementations§
impl<T> Freeze for Service<T>
impl<T> RefUnwindSafe for Service<T>where
T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>where
T: Unpin,
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe + UnwindSafe,
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