pub struct Inviter {
pub user_id: String,
pub user_email: Option<String>,
pub name: Option<String>,
pub avatar_url: Option<String>,
}Expand description
Information about the user creating the invitation (the inviter)
Fields§
§user_id: StringRequired: Your internal user ID for the inviter
user_email: Option<String>Optional: Email of the inviter
name: Option<String>Optional: Display name of the inviter
avatar_url: Option<String>Optional: Avatar URL of the inviter
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Inviter
impl<'de> Deserialize<'de> for Inviter
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 Inviter
impl RefUnwindSafe for Inviter
impl Send for Inviter
impl Sync for Inviter
impl Unpin for Inviter
impl UnwindSafe for Inviter
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