pub struct UserProps {
pub id: i16,
}Expand description
Properties for components that display or interact with a single user.
This struct is used to pass the ID of a specific user to components that need to fetch, display, or modify their details.
§Fields
id: The unique identifier of the user to be displayed or acted upon.
Fields§
§id: i16Trait Implementations§
impl StructuralPartialEq for UserProps
Auto Trait Implementations§
impl Freeze for UserProps
impl RefUnwindSafe for UserProps
impl Send for UserProps
impl Sync for UserProps
impl Unpin for UserProps
impl UnwindSafe for UserProps
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.