pub struct IdentityCredentials {
pub config: Option<Value>,
pub created_at: Option<String>,
pub identifiers: Option<Vec<String>>,
pub _type: Option<IdentityCredentialsType>,
pub updated_at: Option<String>,
pub version: Option<i64>,
}Expand description
IdentityCredentials : Credentials represents a specific credential type
Fields§
§config: Option<Value>§created_at: Option<String>CreatedAt is a helper struct field for gobuffalo.pop.
identifiers: Option<Vec<String>>Identifiers represents a list of unique identifiers this credential type matches.
_type: Option<IdentityCredentialsType>§updated_at: Option<String>UpdatedAt is a helper struct field for gobuffalo.pop.
version: Option<i64>Version refers to the version of the credential. Useful when changing the config schema.
Implementations§
source§impl IdentityCredentials
impl IdentityCredentials
sourcepub fn new() -> IdentityCredentials
pub fn new() -> IdentityCredentials
Credentials represents a specific credential type
Trait Implementations§
source§impl Clone for IdentityCredentials
impl Clone for IdentityCredentials
source§fn clone(&self) -> IdentityCredentials
fn clone(&self) -> IdentityCredentials
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 IdentityCredentials
impl Debug for IdentityCredentials
source§impl Default for IdentityCredentials
impl Default for IdentityCredentials
source§impl<'de> Deserialize<'de> for IdentityCredentials
impl<'de> Deserialize<'de> for IdentityCredentials
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<IdentityCredentials> for IdentityCredentials
impl PartialEq<IdentityCredentials> for IdentityCredentials
source§fn eq(&self, other: &IdentityCredentials) -> bool
fn eq(&self, other: &IdentityCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for IdentityCredentials
impl Serialize for IdentityCredentials
impl StructuralPartialEq for IdentityCredentials
Auto Trait Implementations§
impl RefUnwindSafe for IdentityCredentials
impl Send for IdentityCredentials
impl Sync for IdentityCredentials
impl Unpin for IdentityCredentials
impl UnwindSafe for IdentityCredentials
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