pub struct InviteResponse {
pub id: String,
pub sender_id: String,
pub recipient_id: String,
pub entity_type: EntityType,
pub entity_id: String,
pub role: String,
pub status: InviteStatus,
pub message: Option<String>,
pub created_at: i64,
pub expires_at: Option<i64>,
}Expand description
Invite response data
Fields§
§id: String§sender_id: String§recipient_id: String§entity_type: EntityType§entity_id: String§role: String§status: InviteStatus§message: Option<String>§created_at: i64§expires_at: Option<i64>Trait Implementations§
Source§impl Clone for InviteResponse
impl Clone for InviteResponse
Source§fn clone(&self) -> InviteResponse
fn clone(&self) -> InviteResponse
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 InviteResponse
impl Debug for InviteResponse
Source§impl<'de> Deserialize<'de> for InviteResponse
impl<'de> Deserialize<'de> for InviteResponse
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 InviteResponse
impl RefUnwindSafe for InviteResponse
impl Send for InviteResponse
impl Sync for InviteResponse
impl Unpin for InviteResponse
impl UnwindSafe for InviteResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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