pub struct AuthField {
pub name: String,
pub display_name: Option<String>,
pub description: Option<String>,
pub field_type: Option<String>,
pub required: bool,
pub default: Option<Value>,
pub expected_values: Option<Vec<String>>,
}Expand description
Authentication field definition
Fields§
§name: StringField name
display_name: Option<String>Field display name
description: Option<String>Field description
field_type: Option<String>Field type
required: boolWhether field is required
default: Option<Value>Default value
expected_values: Option<Vec<String>>Expected values
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthField
impl<'de> Deserialize<'de> for AuthField
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
Auto Trait Implementations§
impl Freeze for AuthField
impl RefUnwindSafe for AuthField
impl Send for AuthField
impl Sync for AuthField
impl Unpin for AuthField
impl UnsafeUnpin for AuthField
impl UnwindSafe for AuthField
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