pub struct Invitation {Show 25 fields
pub id: String,
pub account_id: String,
pub click_throughs: u32,
pub configuration_attributes: Option<HashMap<String, Value>>,
pub attributes: Option<HashMap<String, Value>>,
pub created_at: String,
pub deactivated: bool,
pub delivery_count: u32,
pub delivery_types: Vec<DeliveryType>,
pub foreign_creator_id: String,
pub invitation_type: InvitationType,
pub modified_at: Option<String>,
pub status: InvitationStatus,
pub target: Vec<InvitationTarget>,
pub views: u32,
pub widget_configuration_id: String,
pub project_id: String,
pub groups: Vec<InvitationGroup>,
pub accepts: Vec<InvitationAcceptance>,
pub expired: bool,
pub expires: Option<String>,
pub source: Option<String>,
pub subtype: Option<String>,
pub creator_name: Option<String>,
pub creator_avatar_url: Option<String>,
}Expand description
Full invitation details
Fields§
§id: String§account_id: String§click_throughs: u32§configuration_attributes: Option<HashMap<String, Value>>§attributes: Option<HashMap<String, Value>>§created_at: String§deactivated: bool§delivery_count: u32§delivery_types: Vec<DeliveryType>§foreign_creator_id: String§invitation_type: InvitationType§modified_at: Option<String>§status: InvitationStatus§target: Vec<InvitationTarget>§views: u32§widget_configuration_id: String§project_id: String§groups: Vec<InvitationGroup>§accepts: Vec<InvitationAcceptance>§expired: bool§expires: Option<String>§source: Option<String>§subtype: Option<String>Customer-defined subtype for analytics segmentation (e.g., “pymk”, “find-friends”)
creator_name: Option<String>§creator_avatar_url: Option<String>Trait Implementations§
Source§impl Clone for Invitation
impl Clone for Invitation
Source§fn clone(&self) -> Invitation
fn clone(&self) -> Invitation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Invitation
impl Debug for Invitation
Source§impl<'de> Deserialize<'de> for Invitation
impl<'de> Deserialize<'de> for Invitation
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 Invitation
impl RefUnwindSafe for Invitation
impl Send for Invitation
impl Sync for Invitation
impl Unpin for Invitation
impl UnwindSafe for Invitation
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