pub enum HostDeliveryItem {
Intervention {
ceremony_id: CeremonyId,
intervention_id: CeremonyInterventionId,
},
Attention {
ceremony_id: CeremonyId,
attention_id: AttentionEventId,
},
}Expand description
What is being delivered to a host destination.
Variants§
Intervention
A supervisor’s open question, addressed to whoever is working.
Attention
A projected reason the integrator should look at the ceremony.
Implementations§
Source§impl HostDeliveryItem
impl HostDeliveryItem
pub const fn intervention( ceremony_id: CeremonyId, intervention_id: CeremonyInterventionId, ) -> Self
pub const fn attention( ceremony_id: CeremonyId, attention_id: AttentionEventId, ) -> Self
pub const fn ceremony_id(&self) -> &CeremonyId
pub const fn kind(&self) -> HostDeliveryItemKind
Sourcepub fn delivery_id(
&self,
target: &HostDeliveryTarget,
) -> Result<HostDeliveryId, DomainError>
pub fn delivery_id( &self, target: &HostDeliveryTarget, ) -> Result<HostDeliveryId, DomainError>
The deduplicating identity of delivering this item to target.
Trait Implementations§
Source§impl Clone for HostDeliveryItem
impl Clone for HostDeliveryItem
Source§impl Debug for HostDeliveryItem
impl Debug for HostDeliveryItem
Source§impl<'de> Deserialize<'de> for HostDeliveryItem
impl<'de> Deserialize<'de> for HostDeliveryItem
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 Eq for HostDeliveryItem
Source§impl PartialEq for HostDeliveryItem
impl PartialEq for HostDeliveryItem
Source§impl Serialize for HostDeliveryItem
impl Serialize for HostDeliveryItem
impl StructuralPartialEq for HostDeliveryItem
Auto Trait Implementations§
impl Freeze for HostDeliveryItem
impl RefUnwindSafe for HostDeliveryItem
impl Send for HostDeliveryItem
impl Sync for HostDeliveryItem
impl Unpin for HostDeliveryItem
impl UnsafeUnpin for HostDeliveryItem
impl UnwindSafe for HostDeliveryItem
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