pub struct SupportCase { /* private fields */ }Implementations§
Source§impl SupportCase
impl SupportCase
pub fn try_new( id: SupportCaseId, account_id: AccountId, contact_id: ContactId, order_id: Option<OrderId>, status: SupportCaseStatus, priority: SupportPriority, opened_at: Timestamp, last_updated_at: Timestamp, sla_due_at: Timestamp, ) -> DomainResult<Self>
Source§impl SupportCase
impl SupportCase
pub fn id(&self) -> <SupportCaseId as FieldAccess>::Output<'_>
pub fn account_id(&self) -> <AccountId as FieldAccess>::Output<'_>
pub fn contact_id(&self) -> <ContactId as FieldAccess>::Output<'_>
pub fn order_id(&self) -> <Option<OrderId> as FieldAccess>::Output<'_>
pub fn status(&self) -> <SupportCaseStatus as FieldAccess>::Output<'_>
pub fn priority(&self) -> <SupportPriority as FieldAccess>::Output<'_>
pub fn opened_at(&self) -> <Timestamp as FieldAccess>::Output<'_>
pub fn last_updated_at(&self) -> <Timestamp as FieldAccess>::Output<'_>
pub fn sla_due_at(&self) -> <Timestamp as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for SupportCase
impl Clone for SupportCase
Source§fn clone(&self) -> SupportCase
fn clone(&self) -> SupportCase
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 SupportCase
impl Debug for SupportCase
Source§impl PartialEq for SupportCase
impl PartialEq for SupportCase
Source§fn eq(&self, other: &SupportCase) -> bool
fn eq(&self, other: &SupportCase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SupportCase
impl Eq for SupportCase
impl StructuralPartialEq for SupportCase
Auto Trait Implementations§
impl Freeze for SupportCase
impl RefUnwindSafe for SupportCase
impl Send for SupportCase
impl Sync for SupportCase
impl Unpin for SupportCase
impl UnsafeUnpin for SupportCase
impl UnwindSafe for SupportCase
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