pub struct DomainObjectPayload {
pub domain_identifiers: Vec<String>,
pub domain_types: Vec<String>,
pub extra: Map<String, Value>,
}Expand description
Pairs domain types and identifiers by array index. The arrays must have equal lengths. Empty arrays are allowed.
Fields§
§domain_identifiers: Vec<String>For person, group, song, event, group_membership, and appointment, use a numeric database ID encoded as a string. group_membership uses the membership row ID, and wiki_page uses the page GUID. For appointment_occurrence, use -, for example 23-2026-09-14.
domain_types: Vec<String>Object types corresponding to the identifiers at the same indexes.
Allowed values: appointment, appointment_occurrence, event, group, group_membership, person, song, wiki_page.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for DomainObjectPayload
impl Clone for DomainObjectPayload
Source§impl Debug for DomainObjectPayload
impl Debug for DomainObjectPayload
Source§impl Default for DomainObjectPayload
impl Default for DomainObjectPayload
Source§impl<'de> Deserialize<'de> for DomainObjectPayload
impl<'de> Deserialize<'de> for DomainObjectPayload
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
Source§impl PartialEq for DomainObjectPayload
impl PartialEq for DomainObjectPayload
Source§impl Serialize for DomainObjectPayload
impl Serialize for DomainObjectPayload
impl StructuralPartialEq for DomainObjectPayload
Auto Trait Implementations§
impl Freeze for DomainObjectPayload
impl RefUnwindSafe for DomainObjectPayload
impl Send for DomainObjectPayload
impl Sync for DomainObjectPayload
impl Unpin for DomainObjectPayload
impl UnsafeUnpin for DomainObjectPayload
impl UnwindSafe for DomainObjectPayload
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