#[non_exhaustive]pub struct VirtualLocation {
pub at_type: String,
pub name: Option<String>,
pub description: Option<String>,
pub uri: String,
pub features: Option<BTreeMap<String, bool>>,
pub extra: Map<String, Value>,
}Expand description
An online meeting or virtual location (RFC 8984 §4.2.6).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.at_type: StringObject type discriminator; always "VirtualLocation" on the wire.
Deserialize is liberal: if @type is absent (spec-violating
vendor input), this field defaults to "VirtualLocation" rather
than failing the whole parent object’s deserialize. Serialize
always emits the field. See bd:JMAP-ky8g.10.
name: Option<String>Human-readable name for this virtual location.
description: Option<String>Additional description.
uri: StringURI to join the virtual location (e.g. a conference call or meeting URL).
Mandatory per RFC 8984 §4.2.6 — a VirtualLocation without a uri is
malformed. Unlike top-level JMAP object fields, sub-object fields are NOT
subject to RFC 8620 §5.1 partial-response suppression, so this cannot be
absent in a well-formed server response.
features: Option<BTreeMap<String, bool>>Map of feature type URIs → true.
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).
Trait Implementations§
Source§impl Clone for VirtualLocation
impl Clone for VirtualLocation
Source§fn clone(&self) -> VirtualLocation
fn clone(&self) -> VirtualLocation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more