pub struct TicketProps {
pub id: i32,
}Expand description
Properties for components that display a single ticket.
This struct is used to pass the ID of a specific ticket to components that need to fetch or display its details.
§Fields
id: The unique identifier of the ticket to be displayed.
Fields§
§id: i32Trait Implementations§
Source§impl PartialEq for TicketProps
impl PartialEq for TicketProps
Source§impl Properties for TicketProps
impl Properties for TicketProps
impl StructuralPartialEq for TicketProps
Auto Trait Implementations§
impl Freeze for TicketProps
impl RefUnwindSafe for TicketProps
impl Send for TicketProps
impl Sync for TicketProps
impl Unpin for TicketProps
impl UnwindSafe for TicketProps
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
§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.