Struct aws_sdk_connect::types::TaskTemplateConstraints
source · #[non_exhaustive]pub struct TaskTemplateConstraints {
pub required_fields: Option<Vec<RequiredFieldInfo>>,
pub read_only_fields: Option<Vec<ReadOnlyFieldInfo>>,
pub invisible_fields: Option<Vec<InvisibleFieldInfo>>,
}
Expand description
Describes constraints that apply to the template fields.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.required_fields: Option<Vec<RequiredFieldInfo>>
Lists the fields that are required to be filled by agents.
read_only_fields: Option<Vec<ReadOnlyFieldInfo>>
Lists the fields that are read-only to agents, and cannot be edited.
invisible_fields: Option<Vec<InvisibleFieldInfo>>
Lists the fields that are invisible to agents.
Implementations§
source§impl TaskTemplateConstraints
impl TaskTemplateConstraints
sourcepub fn required_fields(&self) -> Option<&[RequiredFieldInfo]>
pub fn required_fields(&self) -> Option<&[RequiredFieldInfo]>
Lists the fields that are required to be filled by agents.
sourcepub fn read_only_fields(&self) -> Option<&[ReadOnlyFieldInfo]>
pub fn read_only_fields(&self) -> Option<&[ReadOnlyFieldInfo]>
Lists the fields that are read-only to agents, and cannot be edited.
sourcepub fn invisible_fields(&self) -> Option<&[InvisibleFieldInfo]>
pub fn invisible_fields(&self) -> Option<&[InvisibleFieldInfo]>
Lists the fields that are invisible to agents.
source§impl TaskTemplateConstraints
impl TaskTemplateConstraints
sourcepub fn builder() -> TaskTemplateConstraintsBuilder
pub fn builder() -> TaskTemplateConstraintsBuilder
Creates a new builder-style object to manufacture TaskTemplateConstraints
.
Trait Implementations§
source§impl Clone for TaskTemplateConstraints
impl Clone for TaskTemplateConstraints
source§fn clone(&self) -> TaskTemplateConstraints
fn clone(&self) -> TaskTemplateConstraints
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 TaskTemplateConstraints
impl Debug for TaskTemplateConstraints
source§impl PartialEq<TaskTemplateConstraints> for TaskTemplateConstraints
impl PartialEq<TaskTemplateConstraints> for TaskTemplateConstraints
source§fn eq(&self, other: &TaskTemplateConstraints) -> bool
fn eq(&self, other: &TaskTemplateConstraints) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskTemplateConstraints
Auto Trait Implementations§
impl RefUnwindSafe for TaskTemplateConstraints
impl Send for TaskTemplateConstraints
impl Sync for TaskTemplateConstraints
impl Unpin for TaskTemplateConstraints
impl UnwindSafe for TaskTemplateConstraints
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