pub struct CreateInviteResponse {
pub all_invites: Vec<MemberInvite>,
pub created_invite: Box<MemberInvite>,
}Fields§
§all_invites: Vec<MemberInvite>A list of all invites for this resource
created_invite: Box<MemberInvite>Implementations§
source§impl CreateInviteResponse
impl CreateInviteResponse
pub fn new( all_invites: Vec<MemberInvite>, created_invite: MemberInvite ) -> CreateInviteResponse
Trait Implementations§
source§impl Clone for CreateInviteResponse
impl Clone for CreateInviteResponse
source§fn clone(&self) -> CreateInviteResponse
fn clone(&self) -> CreateInviteResponse
Returns a copy 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 CreateInviteResponse
impl Debug for CreateInviteResponse
source§impl<'de> Deserialize<'de> for CreateInviteResponse
impl<'de> Deserialize<'de> for CreateInviteResponse
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
source§impl PartialEq<CreateInviteResponse> for CreateInviteResponse
impl PartialEq<CreateInviteResponse> for CreateInviteResponse
source§fn eq(&self, other: &CreateInviteResponse) -> bool
fn eq(&self, other: &CreateInviteResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CreateInviteResponse
impl Serialize for CreateInviteResponse
impl StructuralPartialEq for CreateInviteResponse
Auto Trait Implementations§
impl RefUnwindSafe for CreateInviteResponse
impl Send for CreateInviteResponse
impl Sync for CreateInviteResponse
impl Unpin for CreateInviteResponse
impl UnwindSafe for CreateInviteResponse
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