struct TicketPartial {
date: DateTime<Utc>,
room: i16,
}Expand description
A partial representation of a ticket, containing only the fields necessary for statistical analysis.
This struct is used to efficiently retrieve and process ticket data for diagnostics without fetching the full ticket details.
§Fields
date: The creation date and time of the ticket in UTC.room: The room number associated with the ticket.
Fields§
§date: DateTime<Utc>§room: i16Trait Implementations§
Source§impl Clone for TicketPartial
impl Clone for TicketPartial
Source§fn clone(&self) -> TicketPartial
fn clone(&self) -> TicketPartial
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 TicketPartial
impl Debug for TicketPartial
Source§impl<'de> Deserialize<'de> for TicketPartial
impl<'de> Deserialize<'de> for TicketPartial
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 TicketPartial
impl PartialEq for TicketPartial
impl StructuralPartialEq for TicketPartial
Auto Trait Implementations§
impl Freeze for TicketPartial
impl RefUnwindSafe for TicketPartial
impl Send for TicketPartial
impl Sync for TicketPartial
impl Unpin for TicketPartial
impl UnwindSafe for TicketPartial
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.