pub struct TicketCreateScheme {
pub category: String,
pub betreff: String,
pub description: String,
pub room: i16,
}Expand description
Data transfer object (DTO) for creating a new ticket.
This struct defines the payload sent to the backend when a user submits a new ticket. It includes all necessary information for initial ticket creation.
§Fields
category: The category of the ticket (e.g., “Internet”, “Hardware”).betreff: The subject or brief summary of the ticket.description: A detailed description of the issue or request.room: The room number where the issue is located.
Fields§
§category: String§betreff: String§description: String§room: i16Trait Implementations§
Source§impl Clone for TicketCreateScheme
impl Clone for TicketCreateScheme
Source§fn clone(&self) -> TicketCreateScheme
fn clone(&self) -> TicketCreateScheme
Returns a duplicate of the value. Read more
1.0.0 · 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 TicketCreateScheme
impl Debug for TicketCreateScheme
Source§impl<'de> Deserialize<'de> for TicketCreateScheme
impl<'de> Deserialize<'de> for TicketCreateScheme
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 TicketCreateScheme
impl PartialEq for TicketCreateScheme
Source§impl Serialize for TicketCreateScheme
impl Serialize for TicketCreateScheme
impl StructuralPartialEq for TicketCreateScheme
Auto Trait Implementations§
impl Freeze for TicketCreateScheme
impl RefUnwindSafe for TicketCreateScheme
impl Send for TicketCreateScheme
impl Sync for TicketCreateScheme
impl Unpin for TicketCreateScheme
impl UnwindSafe for TicketCreateScheme
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FromQuery for Twhere
T: DeserializeOwned,
impl<T> FromQuery for Twhere
T: DeserializeOwned,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.