pub struct PermittedCustomerMessage { /* private fields */ }Implementations§
Source§impl PermittedCustomerMessage
impl PermittedCustomerMessage
pub fn try_new( interaction_id: InteractionId, contact: CRMContact, sent_at: Timestamp, ) -> DomainResult<Self>
Source§impl PermittedCustomerMessage
impl PermittedCustomerMessage
pub fn interaction_id(&self) -> <InteractionId as FieldAccess>::Output<'_>
pub fn contact(&self) -> <CRMContact as FieldAccess>::Output<'_>
pub fn sent_at(&self) -> <Timestamp as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for PermittedCustomerMessage
impl Clone for PermittedCustomerMessage
Source§fn clone(&self) -> PermittedCustomerMessage
fn clone(&self) -> PermittedCustomerMessage
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 PermittedCustomerMessage
impl Debug for PermittedCustomerMessage
Source§impl PartialEq for PermittedCustomerMessage
impl PartialEq for PermittedCustomerMessage
Source§fn eq(&self, other: &PermittedCustomerMessage) -> bool
fn eq(&self, other: &PermittedCustomerMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PermittedCustomerMessage
impl StructuralPartialEq for PermittedCustomerMessage
Auto Trait Implementations§
impl Freeze for PermittedCustomerMessage
impl RefUnwindSafe for PermittedCustomerMessage
impl Send for PermittedCustomerMessage
impl Sync for PermittedCustomerMessage
impl Unpin for PermittedCustomerMessage
impl UnsafeUnpin for PermittedCustomerMessage
impl UnwindSafe for PermittedCustomerMessage
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