Struct aws_sdk_connect::types::Application
source · #[non_exhaustive]pub struct Application {
pub namespace: Option<String>,
pub application_permissions: Option<Vec<String>>,
}
Expand description
This API is in preview release for Amazon Connect and is subject to change.
A third-party application's metadata.
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.namespace: Option<String>
Namespace of the application that you want to give access to.
application_permissions: Option<Vec<String>>
The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
Implementations§
source§impl Application
impl Application
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
Namespace of the application that you want to give access to.
sourcepub fn application_permissions(&self) -> &[String]
pub fn application_permissions(&self) -> &[String]
The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .application_permissions.is_none()
.
source§impl Application
impl Application
sourcepub fn builder() -> ApplicationBuilder
pub fn builder() -> ApplicationBuilder
Creates a new builder-style object to manufacture Application
.
Trait Implementations§
source§impl Clone for Application
impl Clone for Application
source§fn clone(&self) -> Application
fn clone(&self) -> Application
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 Application
impl Debug for Application
source§impl PartialEq for Application
impl PartialEq for Application
source§fn eq(&self, other: &Application) -> bool
fn eq(&self, other: &Application) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Application
Auto Trait Implementations§
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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.