pub struct CognitoConfig {
pub client_id: String,
pub user_pool: String,
}
Expand description
Use this parameter to configure your Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
Fields§
§client_id: String
The client ID for your Amazon Cognito user pool.
user_pool: String
A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.
Trait Implementations§
Source§impl Clone for CognitoConfig
impl Clone for CognitoConfig
Source§fn clone(&self) -> CognitoConfig
fn clone(&self) -> CognitoConfig
Returns a duplicate 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 CognitoConfig
impl Debug for CognitoConfig
Source§impl Default for CognitoConfig
impl Default for CognitoConfig
Source§fn default() -> CognitoConfig
fn default() -> CognitoConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CognitoConfig
impl<'de> Deserialize<'de> for CognitoConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CognitoConfig
impl PartialEq for CognitoConfig
Source§impl Serialize for CognitoConfig
impl Serialize for CognitoConfig
impl StructuralPartialEq for CognitoConfig
Auto Trait Implementations§
impl Freeze for CognitoConfig
impl RefUnwindSafe for CognitoConfig
impl Send for CognitoConfig
impl Sync for CognitoConfig
impl Unpin for CognitoConfig
impl UnwindSafe for CognitoConfig
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