pub struct InvitationMail {
pub venture: String,
pub domain: String,
pub email: String,
pub org: String,
pub role: String,
pub accept_url: String,
pub token: String,
pub expires_in_days: i64,
}Expand description
What the invitation template is given. Serialized through the registry,
so it is a wire format: adding a field is fine, renaming one breaks
overrides. The module also puts the resolved theme under theme.
Fields§
§venture: StringThe venture’s name.
domain: StringThe venture’s domain, named beside it.
email: StringThe invitee’s address.
org: StringThe organization’s name, as a person typed it.
role: StringThe role offered.
accept_url: StringThe accept link, token included.
token: StringThe raw token, for an accept page that asks for it.
expires_in_days: i64Days until the invitation expires.
Trait Implementations§
Source§impl Clone for InvitationMail
impl Clone for InvitationMail
Source§impl Debug for InvitationMail
impl Debug for InvitationMail
Source§impl<'de> Deserialize<'de> for InvitationMail
impl<'de> Deserialize<'de> for InvitationMail
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 InvitationMail
impl RefUnwindSafe for InvitationMail
impl Send for InvitationMail
impl Sync for InvitationMail
impl Unpin for InvitationMail
impl UnsafeUnpin for InvitationMail
impl UnwindSafe for InvitationMail
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