pub struct SupportUploadDiagnosticsParams {
pub summary: String,
pub detail: Option<String>,
pub contact: Option<String>,
}Expand description
support.upload_diagnostics params — optional user-supplied
context so the helpdesk has triage info at ticket-open time
without a second round-trip.
Fields§
§summary: StringOne-line summary the user typed into the support form (e.g. “Teams won’t open since the update”). May be empty.
detail: Option<String>Optional longer description / repro steps.
contact: Option<String>User’s contact preference (email / Teams handle / phone). Free-form because organisations differ; the SPA presents a drop-down but stores the chosen value as a string.
Trait Implementations§
Source§impl Clone for SupportUploadDiagnosticsParams
impl Clone for SupportUploadDiagnosticsParams
Source§fn clone(&self) -> SupportUploadDiagnosticsParams
fn clone(&self) -> SupportUploadDiagnosticsParams
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 Default for SupportUploadDiagnosticsParams
impl Default for SupportUploadDiagnosticsParams
Source§fn default() -> SupportUploadDiagnosticsParams
fn default() -> SupportUploadDiagnosticsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SupportUploadDiagnosticsParams
impl<'de> Deserialize<'de> for SupportUploadDiagnosticsParams
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 JsonSchema for SupportUploadDiagnosticsParams
impl JsonSchema for SupportUploadDiagnosticsParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SupportUploadDiagnosticsParams
impl RefUnwindSafe for SupportUploadDiagnosticsParams
impl Send for SupportUploadDiagnosticsParams
impl Sync for SupportUploadDiagnosticsParams
impl Unpin for SupportUploadDiagnosticsParams
impl UnsafeUnpin for SupportUploadDiagnosticsParams
impl UnwindSafe for SupportUploadDiagnosticsParams
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