pub struct AcceptInvitationResponse {
pub team_id: String,
pub role: TeamRole,
}Expand description
Returned by POST /api/invitations/:id/accept — confirms team join.
Fields§
§team_id: String§role: TeamRoleTrait Implementations§
Source§impl Debug for AcceptInvitationResponse
impl Debug for AcceptInvitationResponse
Source§impl<'de> Deserialize<'de> for AcceptInvitationResponse
impl<'de> Deserialize<'de> for AcceptInvitationResponse
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 AcceptInvitationResponse
impl RefUnwindSafe for AcceptInvitationResponse
impl Send for AcceptInvitationResponse
impl Sync for AcceptInvitationResponse
impl Unpin for AcceptInvitationResponse
impl UnwindSafe for AcceptInvitationResponse
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