MCPcopy Create free account
hub / github.com/actix/examples / Invitation

Class Invitation

auth/simple-auth-server/src/models.rs:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#[derive(Debug, Serialize, Deserialize, Queryable, Insertable)]
32#[diesel(table_name = invitations)]
33pub struct Invitation {
34 pub id: Uuid,
35 pub email: String,
36 pub expires_at: NaiveDateTime,
37}
38
39// any type that implements Into<String> can be used to create Invitation
40impl<T> From<T> for Invitation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected