Struct frontegg::WebhookUser
source · pub struct WebhookUser {Show 20 fields
pub id: Uuid,
pub name: Option<String>,
pub email: String,
pub metadata: Value,
pub roles: Vec<Role>,
pub permissions: Vec<Permission>,
pub created_at: OffsetDateTime,
pub activated_for_tenant: Option<bool>,
pub is_locked: Option<bool>,
pub managed_by: String,
pub mfa_enrolled: bool,
pub mfa_bypass: Option<bool>,
pub phone_number: Option<String>,
pub profile_picture_url: Option<String>,
pub provider: String,
pub sub: Uuid,
pub tenant_id: Uuid,
pub tenant_ids: Option<Vec<Uuid>>,
pub tenants: Option<Vec<WebhookTenantBinding>>,
pub verified: Option<bool>,
}Expand description
The subset of a User returned by a frontegg.user.* webhook event
Fields§
§id: UuidThe ID of the user.
name: Option<String>The name of the user.
email: StringThe email for the user.
metadata: ValueArbitrary metadata that is attached to the user.
roles: Vec<Role>The roles to which this user belongs.
permissions: Vec<Permission>The permissions which this user holds.
created_at: OffsetDateTimeThe time at which the user was created.
activated_for_tenant: Option<bool>The activation status of the user for the tenant.
is_locked: Option<bool>The locked status of the user.
managed_by: StringThe entity managing the user.
mfa_enrolled: boolThe mfa enrollment status of the user.
mfa_bypass: Option<bool>The mfa bypass status of the user.
phone_number: Option<String>The phone_number of the user.
profile_picture_url: Option<String>The profile picture url of the user.
provider: StringThe provider of the user.
sub: UuidThe sub of the user.
tenant_id: UuidThe ID of the tenant of the user.
tenant_ids: Option<Vec<Uuid>>The IDs of all tenants for the user. Missing on frontegg.user.disabledMFA events.
tenants: Option<Vec<WebhookTenantBinding>>The tenants to which this user belongs. Missing on frontegg.user.disabledMFA events.
verified: Option<bool>The verified status of the user.
Trait Implementations§
source§impl Clone for WebhookUser
impl Clone for WebhookUser
source§fn clone(&self) -> WebhookUser
fn clone(&self) -> WebhookUser
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more