pub enum IngressPayload {
Command {
request: Box<CommandRequest>,
},
Plugin {
plugin: String,
packet_type: String,
payload: Value,
affected_entities: Vec<EntityRef>,
archive_retention: Vec<PluginArchiveRetention>,
},
Calendar {
cadences: Vec<SystemCadence>,
},
Decision {
request: Box<DecisionIngressRequest>,
},
Maintenance {
request: Box<MaintenanceIngressRequest>,
},
PluginCancellation {
cancelled: IngressId,
authority: IngressCancellationAuthority,
reason: String,
},
}Variants§
Command
Fields
§
request: Box<CommandRequest>Plugin
Fields
§
archive_retention: Vec<PluginArchiveRetention>Calendar
Fields
§
cadences: Vec<SystemCadence>Decision
Fields
§
request: Box<DecisionIngressRequest>Maintenance
Fields
§
request: Box<MaintenanceIngressRequest>PluginCancellation
Terminal withdrawal of one still-pending plugin ingress item, recorded strictly before that item’s due time.
The record is never queued or admitted itself: it takes effect when it
is appended, its due_at equals its issued_at, and the withdrawn
item never reaches a boundary. Nothing is rolled back; the withdrawn
record stays in the journal as evidence.
Trait Implementations§
Source§impl Clone for IngressPayload
impl Clone for IngressPayload
Source§fn clone(&self) -> IngressPayload
fn clone(&self) -> IngressPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IngressPayload
impl Debug for IngressPayload
Source§impl<'de> Deserialize<'de> for IngressPayload
impl<'de> Deserialize<'de> for IngressPayload
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IngressPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IngressPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IngressPayload
impl PartialEq for IngressPayload
Source§impl Serialize for IngressPayload
impl Serialize for IngressPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for IngressPayload
Auto Trait Implementations§
impl Freeze for IngressPayload
impl RefUnwindSafe for IngressPayload
impl Send for IngressPayload
impl Sync for IngressPayload
impl Unpin for IngressPayload
impl UnsafeUnpin for IngressPayload
impl UnwindSafe for IngressPayload
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