unofficial_appwrite 1.0.0

wrapper on appwrite api -> https://appwrite.io/docs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

/// MFA Factors
#[derive(Debug, Serialize, Deserialize, Clone, Default, PartialEq)]
pub struct MfaFactors {
    /// TOTP
    pub totp: bool,
    /// Phone
    pub phone: bool,
    /// Email
    pub email: bool,

    /// Can recovery code be used for MFA challenge for this account.
    #[serde(rename = "recoveryCode")]
    pub recovery_code: bool,
}