pub struct EventServicesUpdate {
pub services: Vec<EventServiceCountUpdate>,
pub extra: Map<String, Value>,
}Expand description
Change the number of service slots in one event.
Fields§
§services: Vec<EventServiceCountUpdate>Desired counts for the listed services only. An empty array makes no changes. Supply each serviceId once: entries are processed against the initial slot snapshot, so repeated IDs do not represent successive updates.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for EventServicesUpdate
impl Clone for EventServicesUpdate
Source§impl Debug for EventServicesUpdate
impl Debug for EventServicesUpdate
Source§impl Default for EventServicesUpdate
impl Default for EventServicesUpdate
Source§impl<'de> Deserialize<'de> for EventServicesUpdate
impl<'de> Deserialize<'de> for EventServicesUpdate
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 EventServicesUpdate
impl PartialEq for EventServicesUpdate
Source§impl Serialize for EventServicesUpdate
impl Serialize for EventServicesUpdate
impl StructuralPartialEq for EventServicesUpdate
Auto Trait Implementations§
impl Freeze for EventServicesUpdate
impl RefUnwindSafe for EventServicesUpdate
impl Send for EventServicesUpdate
impl Sync for EventServicesUpdate
impl Unpin for EventServicesUpdate
impl UnsafeUnpin for EventServicesUpdate
impl UnwindSafe for EventServicesUpdate
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