pub struct MeInvitationAsset {
pub building_name: Option<Value>,
pub claimed_at: Option<String>,
pub integration_id: String,
pub invite_link_id: String,
pub last_used_at: Option<String>,
pub max_uses: Option<i32>,
pub org_id: String,
pub portal_ids: Vec<String>,
pub state: String,
pub uses: i32,
pub valid_from: Option<String>,
pub valid_to: Option<String>,
}Expand description
MeInvitationAsset
JSON schema
{
"type": "object",
"required": [
"integration_id",
"invite_link_id",
"org_id",
"portal_ids",
"state",
"uses"
],
"properties": {
"building_name": {},
"claimed_at": {
"type": [
"string",
"null"
]
},
"integration_id": {
"type": "string"
},
"invite_link_id": {
"type": "string"
},
"last_used_at": {
"type": [
"string",
"null"
]
},
"max_uses": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"org_id": {
"type": "string"
},
"portal_ids": {
"description": "Portal IDs the invite grants (for display: \"Scan portal QR to open\").",
"type": "array",
"items": {
"type": "string"
}
},
"state": {
"type": "string"
},
"uses": {
"description": "Number of times the invite has been used.",
"type": "integer",
"format": "int32"
},
"valid_from": {
"type": [
"string",
"null"
]
},
"valid_to": {
"type": [
"string",
"null"
]
}
}
}Fields§
§building_name: Option<Value>§claimed_at: Option<String>§integration_id: String§invite_link_id: String§last_used_at: Option<String>§max_uses: Option<i32>§org_id: String§portal_ids: Vec<String>Portal IDs the invite grants (for display: “Scan portal QR to open”).
state: String§uses: i32Number of times the invite has been used.
valid_from: Option<String>§valid_to: Option<String>Trait Implementations§
Source§impl Clone for MeInvitationAsset
impl Clone for MeInvitationAsset
Source§fn clone(&self) -> MeInvitationAsset
fn clone(&self) -> MeInvitationAsset
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 MeInvitationAsset
impl Debug for MeInvitationAsset
Source§impl<'de> Deserialize<'de> for MeInvitationAsset
impl<'de> Deserialize<'de> for MeInvitationAsset
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 MeInvitationAsset
impl RefUnwindSafe for MeInvitationAsset
impl Send for MeInvitationAsset
impl Sync for MeInvitationAsset
impl Unpin for MeInvitationAsset
impl UnsafeUnpin for MeInvitationAsset
impl UnwindSafe for MeInvitationAsset
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