pub struct StdCredentialField {
pub key: String,
pub label: String,
pub field_type: String,
pub secret: bool,
pub required: bool,
pub resource: Option<String>,
pub scopes: Vec<String>,
}Expand description
One field of a declared credential. field_type binds the encoding and how
act login acquires it (design §3.2).
Fields§
§key: String§label: String§field_type: String§secret: bool§required: bool§resource: Option<String>Flow parameters, meaningful for a std:oauth2 field and ignored otherwise.
scopes: Vec<String>Trait Implementations§
Source§impl Clone for StdCredentialField
impl Clone for StdCredentialField
Source§fn clone(&self) -> StdCredentialField
fn clone(&self) -> StdCredentialField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StdCredentialField
impl Debug for StdCredentialField
Source§impl<'de> Deserialize<'de> for StdCredentialField
impl<'de> Deserialize<'de> for StdCredentialField
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
impl Eq for StdCredentialField
Source§impl PartialEq for StdCredentialField
impl PartialEq for StdCredentialField
Source§impl Serialize for StdCredentialField
impl Serialize for StdCredentialField
impl StructuralPartialEq for StdCredentialField
Auto Trait Implementations§
impl Freeze for StdCredentialField
impl RefUnwindSafe for StdCredentialField
impl Send for StdCredentialField
impl Sync for StdCredentialField
impl Unpin for StdCredentialField
impl UnsafeUnpin for StdCredentialField
impl UnwindSafe for StdCredentialField
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