pub enum Recipient {
OperatorRecipient(Box<OperatorRecipient>),
AudienceRecipient(Box<AudienceRecipient>),
RedeliveryRecipient(Box<RedeliveryRecipient>),
}Expand description
Recipient enum using newtype pattern (wraps structs in Box) This is automatically generated from discriminated schemas
Variants§
OperatorRecipient(Box<OperatorRecipient>)
AudienceRecipient(Box<AudienceRecipient>)
RedeliveryRecipient(Box<RedeliveryRecipient>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Recipient
impl<'de> Deserialize<'de> for Recipient
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 From<AudienceRecipient> for Recipient
impl From<AudienceRecipient> for Recipient
Source§fn from(value: AudienceRecipient) -> Self
fn from(value: AudienceRecipient) -> Self
Converts to this type from the input type.
Source§impl From<OperatorRecipient> for Recipient
impl From<OperatorRecipient> for Recipient
Source§fn from(value: OperatorRecipient) -> Self
fn from(value: OperatorRecipient) -> Self
Converts to this type from the input type.
Source§impl From<RedeliveryRecipient> for Recipient
impl From<RedeliveryRecipient> for Recipient
Source§fn from(value: RedeliveryRecipient) -> Self
fn from(value: RedeliveryRecipient) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Recipient
Auto Trait Implementations§
impl Freeze for Recipient
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnsafeUnpin for Recipient
impl UnwindSafe for Recipient
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