pub enum SupportTarget {
Create(Box<SupportTicketCreateOptions>),
List(Box<SupportTicketListOptions>),
Detail(String),
ContextHistory {
ticket_id: String,
},
ReplyContext(Box<SupportContextReplyOptions>),
UpdateStatus {
ticket_id: String,
status: SupportTicketLifecycleStatus,
},
}Expand description
Support-ticket operation.
Variants§
Create(Box<SupportTicketCreateOptions>)
Create one support ticket.
List(Box<SupportTicketListOptions>)
List support-ticket history.
Detail(String)
Read one support ticket by public identifier.
ContextHistory
Read public context history for one support ticket.
ReplyContext(Box<SupportContextReplyOptions>)
Add requested context to one support ticket.
UpdateStatus
Update one support ticket’s public lifecycle status.
Fields
§
status: SupportTicketLifecycleStatusUser-owned lifecycle status.
Trait Implementations§
Source§impl Clone for SupportTarget
impl Clone for SupportTarget
Source§fn clone(&self) -> SupportTarget
fn clone(&self) -> SupportTarget
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 SupportTarget
impl Debug for SupportTarget
impl Eq for SupportTarget
Source§impl PartialEq for SupportTarget
impl PartialEq for SupportTarget
impl StructuralPartialEq for SupportTarget
Auto Trait Implementations§
impl Freeze for SupportTarget
impl RefUnwindSafe for SupportTarget
impl Send for SupportTarget
impl Sync for SupportTarget
impl Unpin for SupportTarget
impl UnsafeUnpin for SupportTarget
impl UnwindSafe for SupportTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.