#[non_exhaustive]pub struct RenderUiTemplateInput {
pub ui_template: Option<UiTemplate>,
pub task: Option<RenderableTask>,
pub role_arn: Option<String>,
pub human_task_ui_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ui_template: Option<UiTemplate>
A Template
object containing the worker UI template to render.
task: Option<RenderableTask>
A RenderableTask
object containing a representative task to render.
role_arn: Option<String>
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
human_task_ui_arn: Option<String>
The HumanTaskUiArn
of the worker UI that you want to render. Do not provide a HumanTaskUiArn
if you use the UiTemplate
parameter.
See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
Implementations§
source§impl RenderUiTemplateInput
impl RenderUiTemplateInput
sourcepub fn ui_template(&self) -> Option<&UiTemplate>
pub fn ui_template(&self) -> Option<&UiTemplate>
A Template
object containing the worker UI template to render.
sourcepub fn task(&self) -> Option<&RenderableTask>
pub fn task(&self) -> Option<&RenderableTask>
A RenderableTask
object containing a representative task to render.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
sourcepub fn human_task_ui_arn(&self) -> Option<&str>
pub fn human_task_ui_arn(&self) -> Option<&str>
The HumanTaskUiArn
of the worker UI that you want to render. Do not provide a HumanTaskUiArn
if you use the UiTemplate
parameter.
See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
source§impl RenderUiTemplateInput
impl RenderUiTemplateInput
sourcepub fn builder() -> RenderUiTemplateInputBuilder
pub fn builder() -> RenderUiTemplateInputBuilder
Creates a new builder-style object to manufacture RenderUiTemplateInput
.
Trait Implementations§
source§impl Clone for RenderUiTemplateInput
impl Clone for RenderUiTemplateInput
source§fn clone(&self) -> RenderUiTemplateInput
fn clone(&self) -> RenderUiTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenderUiTemplateInput
impl Debug for RenderUiTemplateInput
source§impl PartialEq for RenderUiTemplateInput
impl PartialEq for RenderUiTemplateInput
impl StructuralPartialEq for RenderUiTemplateInput
Auto Trait Implementations§
impl Freeze for RenderUiTemplateInput
impl RefUnwindSafe for RenderUiTemplateInput
impl Send for RenderUiTemplateInput
impl Sync for RenderUiTemplateInput
impl Unpin for RenderUiTemplateInput
impl UnwindSafe for RenderUiTemplateInput
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
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)
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>
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>
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