pub enum CURequest {
Show 19 variants
PrimaryRemove,
Password(String),
CancelMFAReg,
TotpGenerate,
TotpVerify(u32, String),
TotpAcceptSha1,
TotpRemove(String),
BackupCodeGenerate,
BackupCodeRemove,
PasskeyInit,
PasskeyFinish(String, RegisterPublicKeyCredential),
PasskeyRemove(Uuid),
AttestedPasskeyInit,
AttestedPasskeyFinish(String, RegisterPublicKeyCredential),
AttestedPasskeyRemove(Uuid),
UnixPasswordRemove,
UnixPassword(String),
SshPublicKey(String, SshPublicKey),
SshPublicKeyRemove(String),
}
Variants§
PrimaryRemove
Password(String)
CancelMFAReg
TotpGenerate
TotpVerify(u32, String)
TotpAcceptSha1
TotpRemove(String)
BackupCodeGenerate
BackupCodeRemove
PasskeyInit
PasskeyFinish(String, RegisterPublicKeyCredential)
PasskeyRemove(Uuid)
AttestedPasskeyInit
AttestedPasskeyFinish(String, RegisterPublicKeyCredential)
AttestedPasskeyRemove(Uuid)
UnixPasswordRemove
UnixPassword(String)
SshPublicKey(String, SshPublicKey)
SshPublicKeyRemove(String)
Trait Implementations§
source§impl<'de> Deserialize<'de> for CURequest
impl<'de> Deserialize<'de> for CURequest
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 CURequest
impl RefUnwindSafe for CURequest
impl Send for CURequest
impl Sync for CURequest
impl Unpin for CURequest
impl UnwindSafe for CURequest
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)