pub struct CreatePackInvitationRequest {
pub access: PackAccessType,
pub email: String,
}Expand description
Payload for creating a Pack invitation.
JSON schema
{
"description": "Payload for creating a Pack invitation.",
"type": "object",
"required": [
"access",
"email"
],
"properties": {
"access": {
"$ref": "#/components/schemas/PackAccessType"
},
"email": {
"description": "Email address of the user to invite",
"examples": [
"user@example.com"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "CreatePackInvitationRequest"
}Fields§
§access: PackAccessType§email: StringEmail address of the user to invite
Trait Implementations§
Source§impl Clone for CreatePackInvitationRequest
impl Clone for CreatePackInvitationRequest
Source§fn clone(&self) -> CreatePackInvitationRequest
fn clone(&self) -> CreatePackInvitationRequest
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 CreatePackInvitationRequest
impl Debug for CreatePackInvitationRequest
Source§impl<'de> Deserialize<'de> for CreatePackInvitationRequest
impl<'de> Deserialize<'de> for CreatePackInvitationRequest
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 From<&CreatePackInvitationRequest> for CreatePackInvitationRequest
impl From<&CreatePackInvitationRequest> for CreatePackInvitationRequest
Source§fn from(value: &CreatePackInvitationRequest) -> Self
fn from(value: &CreatePackInvitationRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreatePackInvitationRequest
impl RefUnwindSafe for CreatePackInvitationRequest
impl Send for CreatePackInvitationRequest
impl Sync for CreatePackInvitationRequest
impl Unpin for CreatePackInvitationRequest
impl UnwindSafe for CreatePackInvitationRequest
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