Struct aws_sdk_qconnect::types::RenderingConfiguration
source · #[non_exhaustive]pub struct RenderingConfiguration {
pub template_uri: Option<String>,
}Expand description
Information about how to render the content.
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.template_uri: Option<String>A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
-
Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted -
ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive -
Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent.
Implementations§
source§impl RenderingConfiguration
impl RenderingConfiguration
sourcepub fn template_uri(&self) -> Option<&str>
pub fn template_uri(&self) -> Option<&str>
A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
-
Salesforce:
Id,ArticleNumber,VersionNumber,Title,PublishStatus, orIsDeleted -
ServiceNow:
number,short_description,sys_mod_count,workflow_state, oractive -
Zendesk:
id,title,updated_at, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent.
source§impl RenderingConfiguration
impl RenderingConfiguration
sourcepub fn builder() -> RenderingConfigurationBuilder
pub fn builder() -> RenderingConfigurationBuilder
Creates a new builder-style object to manufacture RenderingConfiguration.
Trait Implementations§
source§impl Clone for RenderingConfiguration
impl Clone for RenderingConfiguration
source§fn clone(&self) -> RenderingConfiguration
fn clone(&self) -> RenderingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RenderingConfiguration
impl Debug for RenderingConfiguration
source§impl PartialEq for RenderingConfiguration
impl PartialEq for RenderingConfiguration
source§fn eq(&self, other: &RenderingConfiguration) -> bool
fn eq(&self, other: &RenderingConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RenderingConfiguration
Auto Trait Implementations§
impl Freeze for RenderingConfiguration
impl RefUnwindSafe for RenderingConfiguration
impl Send for RenderingConfiguration
impl Sync for RenderingConfiguration
impl Unpin for RenderingConfiguration
impl UnwindSafe for RenderingConfiguration
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> 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