Struct aws_sdk_cognitoidentityprovider::operation::update_resource_server::UpdateResourceServerInput
source · #[non_exhaustive]pub struct UpdateResourceServerInput {
pub user_pool_id: Option<String>,
pub identifier: Option<String>,
pub name: Option<String>,
pub scopes: Option<Vec<ResourceServerScopeType>>,
}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.user_pool_id: Option<String>The user pool ID for the user pool.
identifier: Option<String>The identifier for the resource server.
name: Option<String>The name of the resource server.
scopes: Option<Vec<ResourceServerScopeType>>The scope values to be set for the resource server.
Implementations§
source§impl UpdateResourceServerInput
impl UpdateResourceServerInput
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID for the user pool.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The identifier for the resource server.
sourcepub fn scopes(&self) -> &[ResourceServerScopeType]
pub fn scopes(&self) -> &[ResourceServerScopeType]
The scope values to be set for the resource server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .scopes.is_none().
source§impl UpdateResourceServerInput
impl UpdateResourceServerInput
sourcepub fn builder() -> UpdateResourceServerInputBuilder
pub fn builder() -> UpdateResourceServerInputBuilder
Creates a new builder-style object to manufacture UpdateResourceServerInput.
Trait Implementations§
source§impl Clone for UpdateResourceServerInput
impl Clone for UpdateResourceServerInput
source§fn clone(&self) -> UpdateResourceServerInput
fn clone(&self) -> UpdateResourceServerInput
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 UpdateResourceServerInput
impl Debug for UpdateResourceServerInput
source§impl PartialEq for UpdateResourceServerInput
impl PartialEq for UpdateResourceServerInput
source§fn eq(&self, other: &UpdateResourceServerInput) -> bool
fn eq(&self, other: &UpdateResourceServerInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateResourceServerInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResourceServerInput
impl Send for UpdateResourceServerInput
impl Sync for UpdateResourceServerInput
impl Unpin for UpdateResourceServerInput
impl UnwindSafe for UpdateResourceServerInput
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.