pub struct EnableWebauthnRequest {
pub url: String,
}Expand description
Request body for POST /services/webauthn/enable.
Adds a #vta-webauthn service entry to the VTA’s DID document
pointing at url. Refused with ServiceAlreadyEnabled if the
WebAuthn-RP surface is already advertised. The wire shape
rendered into the DID document — id: "{DID}#vta-webauthn",
type: "WebAuthnRP" — is preserved by the operation layer.
Distinct from EnableRestRequest because the WebAuthn-RP
surface has different availability semantics: it can be
toggled independently of the general REST API and is the entry
point browsers discover for the auth portal.
Fields§
§url: StringImplementations§
Trait Implementations§
Source§impl Clone for EnableWebauthnRequest
impl Clone for EnableWebauthnRequest
Source§fn clone(&self) -> EnableWebauthnRequest
fn clone(&self) -> EnableWebauthnRequest
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 EnableWebauthnRequest
impl Debug for EnableWebauthnRequest
Source§impl<'de> Deserialize<'de> for EnableWebauthnRequest
impl<'de> Deserialize<'de> for EnableWebauthnRequest
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 EnableWebauthnRequest
Source§impl PartialEq for EnableWebauthnRequest
impl PartialEq for EnableWebauthnRequest
Source§impl Serialize for EnableWebauthnRequest
impl Serialize for EnableWebauthnRequest
impl StructuralPartialEq for EnableWebauthnRequest
Auto Trait Implementations§
impl Freeze for EnableWebauthnRequest
impl RefUnwindSafe for EnableWebauthnRequest
impl Send for EnableWebauthnRequest
impl Sync for EnableWebauthnRequest
impl Unpin for EnableWebauthnRequest
impl UnsafeUnpin for EnableWebauthnRequest
impl UnwindSafe for EnableWebauthnRequest
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