pub struct HelpTicketIntake {
pub description: Option<String>,
pub email: Option<String>,
pub priority: Option<String>,
pub subject: Option<String>,
}Fields§
§description: Option<String>Description is the customer’s message. Optional; it becomes the ticket’s description AND the opening entry of its conversation thread. Clipped at 16 KiB.
email: Option<String>Email is how the support team replies. Required; clipped at 320 characters (the RFC 5321 maximum). It is recorded as the ticket’s customer, and it is not verified.
priority: Option<String>Priority is Low, Medium, High or Urgent, case-insensitively. Anything else — including omitting it — is recorded as Medium rather than refused.
subject: Option<String>Subject is the one-line summary of the problem. Required; longer than 300 characters is clipped rather than refused.
Implementations§
Source§impl HelpTicketIntake
impl HelpTicketIntake
pub fn new() -> HelpTicketIntake
Trait Implementations§
Source§impl Clone for HelpTicketIntake
impl Clone for HelpTicketIntake
Source§fn clone(&self) -> HelpTicketIntake
fn clone(&self) -> HelpTicketIntake
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 HelpTicketIntake
impl Debug for HelpTicketIntake
Source§impl Default for HelpTicketIntake
impl Default for HelpTicketIntake
Source§fn default() -> HelpTicketIntake
fn default() -> HelpTicketIntake
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HelpTicketIntake
impl<'de> Deserialize<'de> for HelpTicketIntake
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 PartialEq for HelpTicketIntake
impl PartialEq for HelpTicketIntake
Source§impl Serialize for HelpTicketIntake
impl Serialize for HelpTicketIntake
impl StructuralPartialEq for HelpTicketIntake
Auto Trait Implementations§
impl Freeze for HelpTicketIntake
impl RefUnwindSafe for HelpTicketIntake
impl Send for HelpTicketIntake
impl Sync for HelpTicketIntake
impl Unpin for HelpTicketIntake
impl UnsafeUnpin for HelpTicketIntake
impl UnwindSafe for HelpTicketIntake
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