pub struct CreateAccessInviteResponse {Show 15 fields
pub granted_portals: Vec<AccessInviteGrantedPortal>,
pub invite_link_id: String,
pub invite_recurrence: Option<Value>,
pub invite_token: String,
pub invitee_message: Option<Value>,
pub is_enabled: bool,
pub max_uses: Option<i32>,
pub name: Option<String>,
pub schedule: InviteScheduleSnapshot,
pub schedule_combined: InviteScheduleCombined,
pub schedule_entries: Vec<InviteScheduleEntrySnapshot>,
pub schedule_kind: InviteScheduleKind,
pub uses: i32,
pub valid_from: String,
pub valid_to: String,
}Expand description
CreateAccessInviteResponse
JSON schema
{
"type": "object",
"required": [
"granted_portals",
"invite_link_id",
"invite_token",
"is_enabled",
"schedule",
"schedule_combined",
"schedule_entries",
"schedule_kind",
"uses",
"valid_from",
"valid_to"
],
"properties": {
"granted_portals": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccessInviteGrantedPortal"
}
},
"invite_link_id": {
"type": "string"
},
"invite_recurrence": {},
"invite_token": {
"type": "string"
},
"invitee_message": {},
"is_enabled": {
"type": "boolean"
},
"max_uses": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"name": {
"type": [
"string",
"null"
]
},
"schedule": {
"$ref": "#/components/schemas/InviteScheduleSnapshot"
},
"schedule_combined": {
"$ref": "#/components/schemas/InviteScheduleCombined"
},
"schedule_entries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InviteScheduleEntrySnapshot"
}
},
"schedule_kind": {
"$ref": "#/components/schemas/InviteScheduleKind"
},
"uses": {
"type": "integer",
"format": "int32"
},
"valid_from": {
"type": "string"
},
"valid_to": {
"type": "string"
}
}
}Fields§
§granted_portals: Vec<AccessInviteGrantedPortal>§invite_link_id: String§invite_recurrence: Option<Value>§invite_token: String§invitee_message: Option<Value>§is_enabled: bool§max_uses: Option<i32>§name: Option<String>§schedule: InviteScheduleSnapshot§schedule_combined: InviteScheduleCombined§schedule_entries: Vec<InviteScheduleEntrySnapshot>§schedule_kind: InviteScheduleKind§uses: i32§valid_from: String§valid_to: StringTrait Implementations§
Source§impl Clone for CreateAccessInviteResponse
impl Clone for CreateAccessInviteResponse
Source§fn clone(&self) -> CreateAccessInviteResponse
fn clone(&self) -> CreateAccessInviteResponse
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 CreateAccessInviteResponse
impl Debug for CreateAccessInviteResponse
Source§impl<'de> Deserialize<'de> for CreateAccessInviteResponse
impl<'de> Deserialize<'de> for CreateAccessInviteResponse
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 CreateAccessInviteResponse
impl RefUnwindSafe for CreateAccessInviteResponse
impl Send for CreateAccessInviteResponse
impl Sync for CreateAccessInviteResponse
impl Unpin for CreateAccessInviteResponse
impl UnsafeUnpin for CreateAccessInviteResponse
impl UnwindSafe for CreateAccessInviteResponse
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