#[non_exhaustive]pub enum BindingTarget {
Usable,
Missing,
Inaccessible,
}Expand description
What SceneBackend::region_binding knows about the object a
SceneRegion binding property references.
SceneRegion/set maps it to the SetError the draft requires
(draft-atwood-jmap-scene-00 §Creating a Region, §Updating a Region).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Usable
The object exists and the caller may bind it: for activeCallId,
the VTCCall is not "ended" and the caller is a participant in or
moderator of it, or an administrator.
Missing
The object does not exist; for activeCallId, also a VTCCall in
state "ended". SceneRegion/set returns invalidProperties
naming the property.
Inaccessible
The object exists but the caller cannot access it. For chatId,
spaceId and channelId this is invalidProperties naming the
property (“if the referenced object does not exist or the caller
cannot access it”); for activeCallId it is forbidden (“and
forbidden if the caller lacks access”).