pub struct ConfigAccessGetWebauthnResponseData {
pub allow_subdomains: Option<bool>,
pub id: String,
pub origin: Option<String>,
pub rp: String,
}Fields§
§allow_subdomains: Option<bool>If an origin is specified, this specifies whether subdomains should be considered valid as well. May be changed at any time. Defaults to true.
id: StringRelying party ID. Must be the domain name without protocol, port or location. Changing this will break existing credentials.
origin: Option<String>Site origin. Must be a https:// URL (or http://localhost). Should contain the address users type in their browsers to access the web interface. Changing this may break existing credentials.
rp: StringRelying party name. Any text identifier. Changing this may break existing credentials.
Implementations§
Source§impl ConfigAccessGetWebauthnResponseData
impl ConfigAccessGetWebauthnResponseData
pub fn new(id: String, rp: String) -> ConfigAccessGetWebauthnResponseData
Trait Implementations§
Source§impl Clone for ConfigAccessGetWebauthnResponseData
impl Clone for ConfigAccessGetWebauthnResponseData
Source§fn clone(&self) -> ConfigAccessGetWebauthnResponseData
fn clone(&self) -> ConfigAccessGetWebauthnResponseData
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 Default for ConfigAccessGetWebauthnResponseData
impl Default for ConfigAccessGetWebauthnResponseData
Source§fn default() -> ConfigAccessGetWebauthnResponseData
fn default() -> ConfigAccessGetWebauthnResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigAccessGetWebauthnResponseData
impl<'de> Deserialize<'de> for ConfigAccessGetWebauthnResponseData
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 ConfigAccessGetWebauthnResponseData
impl PartialEq for ConfigAccessGetWebauthnResponseData
Source§fn eq(&self, other: &ConfigAccessGetWebauthnResponseData) -> bool
fn eq(&self, other: &ConfigAccessGetWebauthnResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigAccessGetWebauthnResponseData
Auto Trait Implementations§
impl Freeze for ConfigAccessGetWebauthnResponseData
impl RefUnwindSafe for ConfigAccessGetWebauthnResponseData
impl Send for ConfigAccessGetWebauthnResponseData
impl Sync for ConfigAccessGetWebauthnResponseData
impl Unpin for ConfigAccessGetWebauthnResponseData
impl UnsafeUnpin for ConfigAccessGetWebauthnResponseData
impl UnwindSafe for ConfigAccessGetWebauthnResponseData
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