pub struct HandlePackInvitationRequest {
pub accept: bool,
}Expand description
Payload for handling a Pack invitation (accept or reject).
JSON schema
{
"description": "Payload for handling a Pack invitation (accept or
reject).",
"type": "object",
"required": [
"accept"
],
"properties": {
"accept": {
"description": "True to accept the invitation, false to reject it",
"type": "boolean"
}
},
"additionalProperties": false,
"x-schema-name": "HandlePackInvitationRequest"
}Fields§
§accept: boolTrue to accept the invitation, false to reject it
Trait Implementations§
Source§impl Clone for HandlePackInvitationRequest
impl Clone for HandlePackInvitationRequest
Source§fn clone(&self) -> HandlePackInvitationRequest
fn clone(&self) -> HandlePackInvitationRequest
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 HandlePackInvitationRequest
impl Debug for HandlePackInvitationRequest
Source§impl<'de> Deserialize<'de> for HandlePackInvitationRequest
impl<'de> Deserialize<'de> for HandlePackInvitationRequest
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<&HandlePackInvitationRequest> for HandlePackInvitationRequest
impl From<&HandlePackInvitationRequest> for HandlePackInvitationRequest
Source§fn from(value: &HandlePackInvitationRequest) -> Self
fn from(value: &HandlePackInvitationRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HandlePackInvitationRequest
impl RefUnwindSafe for HandlePackInvitationRequest
impl Send for HandlePackInvitationRequest
impl Sync for HandlePackInvitationRequest
impl Unpin for HandlePackInvitationRequest
impl UnwindSafe for HandlePackInvitationRequest
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