pub struct IdentityRedemptionContext {
pub event_id: String,
pub address: MessagingAddress,
pub actor: ExternalActor,
pub conversation_display_name: Option<String>,
}Expand description
Receiving identity facts for a parsed command. Message content and its schema belong to the receiving adapter, not to identity redemption.
Fields§
§event_id: String§address: MessagingAddress§actor: ExternalActor§conversation_display_name: Option<String>Implementations§
Source§impl IdentityRedemptionContext
impl IdentityRedemptionContext
pub fn validate(self) -> Result<Self, MessagingModelError>
Trait Implementations§
Source§impl Clone for IdentityRedemptionContext
impl Clone for IdentityRedemptionContext
Source§impl Debug for IdentityRedemptionContext
impl Debug for IdentityRedemptionContext
Source§impl<'de> Deserialize<'de> for IdentityRedemptionContext
impl<'de> Deserialize<'de> for IdentityRedemptionContext
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
Auto Trait Implementations§
impl Forget for IdentityRedemptionContext
impl Freeze for IdentityRedemptionContext
impl Move for IdentityRedemptionContext
impl RefUnwindSafe for IdentityRedemptionContext
impl Send for IdentityRedemptionContextwhere
RawVecInner: Send,
impl Sync for IdentityRedemptionContextwhere
RawVecInner: Sync,
impl Unpin for IdentityRedemptionContext
impl UnsafeUnpin for IdentityRedemptionContext
impl UnwindSafe for IdentityRedemptionContextwhere
RawVecInner: UnwindSafe,
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