pub struct BulkEventServiceAssignmentCreate {
pub option: String,
pub person_id: Option<i64>,
pub person_name: Option<String>,
pub service_id: i64,
pub extra: Map<String, Value>,
}Expand description
event/addPersonToService: Assigns a person or free-text name to a service position in each event. Exactly one of personId or personName must be specified.
Fields§
§option: Stringnever requires a reusable slot; newIfNeeded creates one if needed; alwaysNew adds a slot unless the same assignee already has a valid assignment.
Allowed values: alwaysNew, never, newIfNeeded.
person_id: Option<i64>Registered person ID.
person_name: Option<String>Free-text assignee.
service_id: i64Service-definition ID.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BulkEventServiceAssignmentCreate
impl<'de> Deserialize<'de> for BulkEventServiceAssignmentCreate
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
impl StructuralPartialEq for BulkEventServiceAssignmentCreate
Auto Trait Implementations§
impl Freeze for BulkEventServiceAssignmentCreate
impl RefUnwindSafe for BulkEventServiceAssignmentCreate
impl Send for BulkEventServiceAssignmentCreate
impl Sync for BulkEventServiceAssignmentCreate
impl Unpin for BulkEventServiceAssignmentCreate
impl UnsafeUnpin for BulkEventServiceAssignmentCreate
impl UnwindSafe for BulkEventServiceAssignmentCreate
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