pub struct TicketUpdateScheme {
pub status: String,
}Expand description
Data transfer object (DTO) for updating a ticket’s status.
This struct is used when sending a request to the backend to change the status of an existing ticket.
§Fields
status: The new status of the ticket (e.g., “ToDo”, “InProgress”, “Completed”, “Archived”).
Fields§
§status: StringTrait Implementations§
Source§impl Clone for TicketUpdateScheme
impl Clone for TicketUpdateScheme
Source§fn clone(&self) -> TicketUpdateScheme
fn clone(&self) -> TicketUpdateScheme
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 TicketUpdateScheme
impl Debug for TicketUpdateScheme
Source§impl<'de> Deserialize<'de> for TicketUpdateScheme
impl<'de> Deserialize<'de> for TicketUpdateScheme
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 TicketUpdateScheme
impl PartialEq for TicketUpdateScheme
Source§impl Serialize for TicketUpdateScheme
impl Serialize for TicketUpdateScheme
impl StructuralPartialEq for TicketUpdateScheme
Auto Trait Implementations§
impl Freeze for TicketUpdateScheme
impl RefUnwindSafe for TicketUpdateScheme
impl Send for TicketUpdateScheme
impl Sync for TicketUpdateScheme
impl Unpin for TicketUpdateScheme
impl UnwindSafe for TicketUpdateScheme
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.