pub struct PublicInviteResponse {Show 14 fields
pub already_claimed: Option<bool>,
pub branding: Option<Value>,
pub building: Option<Value>,
pub grants: Vec<PublicInviteGrant>,
pub invite_token: String,
pub invitee_message: Option<Value>,
pub name: Option<String>,
pub schedule: Option<InviteScheduleSnapshot>,
pub schedule_combined: Option<InviteScheduleCombined>,
pub schedule_entries: Option<Vec<InviteScheduleEntrySnapshot>>,
pub schedule_kind: Option<InviteScheduleKind>,
pub state: PublicInviteState,
pub valid_from: Option<String>,
pub valid_to: Option<String>,
}Expand description
PublicInviteResponse
JSON schema
{
"type": "object",
"required": [
"grants",
"invite_token",
"state"
],
"properties": {
"already_claimed": {
"type": [
"boolean",
"null"
]
},
"branding": {},
"building": {
"description": "Building (integration) summary: `name` (LocalizedString) and optional `location` fields\nfrom integration config (`address`, `city`, `country`)."
},
"grants": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PublicInviteGrant"
}
},
"invite_token": {
"type": "string"
},
"invitee_message": {},
"name": {
"description": "Optional admin-defined label (management UI \"name\"); exposed for link previews and guests who already know the invite by name.",
"type": [
"string",
"null"
]
},
"schedule": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/InviteScheduleSnapshot"
}
]
}
]
},
"schedule_combined": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/InviteScheduleCombined"
}
]
}
]
},
"schedule_entries": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/InviteScheduleEntrySnapshot"
}
},
"schedule_kind": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/InviteScheduleKind"
}
]
}
]
},
"state": {
"$ref": "#/components/schemas/PublicInviteState"
},
"valid_from": {
"type": [
"string",
"null"
]
},
"valid_to": {
"type": [
"string",
"null"
]
}
}
}Fields§
§already_claimed: Option<bool>§branding: Option<Value>§building: Option<Value>Building (integration) summary: name (LocalizedString) and optional location fields
from integration config (address, city, country).
grants: Vec<PublicInviteGrant>§invite_token: String§invitee_message: Option<Value>§name: Option<String>Optional admin-defined label (management UI “name”); exposed for link previews and guests who already know the invite by name.
schedule: Option<InviteScheduleSnapshot>§schedule_combined: Option<InviteScheduleCombined>§schedule_entries: Option<Vec<InviteScheduleEntrySnapshot>>§schedule_kind: Option<InviteScheduleKind>§state: PublicInviteState§valid_from: Option<String>§valid_to: Option<String>Trait Implementations§
Source§impl Clone for PublicInviteResponse
impl Clone for PublicInviteResponse
Source§fn clone(&self) -> PublicInviteResponse
fn clone(&self) -> PublicInviteResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicInviteResponse
impl Debug for PublicInviteResponse
Source§impl<'de> Deserialize<'de> for PublicInviteResponse
impl<'de> Deserialize<'de> for PublicInviteResponse
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 PublicInviteResponse
impl RefUnwindSafe for PublicInviteResponse
impl Send for PublicInviteResponse
impl Sync for PublicInviteResponse
impl Unpin for PublicInviteResponse
impl UnsafeUnpin for PublicInviteResponse
impl UnwindSafe for PublicInviteResponse
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