pub struct GetUserParams {
pub user_id: String,
}
Expand description
struct for passing parameters to the method get_user
Fields§
§user_id: String
Alphanumeric string identifying the user.
Trait Implementations§
Source§impl Clone for GetUserParams
impl Clone for GetUserParams
Source§fn clone(&self) -> GetUserParams
fn clone(&self) -> GetUserParams
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 GetUserParams
impl Debug for GetUserParams
Source§impl Default for GetUserParams
impl Default for GetUserParams
Source§fn default() -> GetUserParams
fn default() -> GetUserParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetUserParams
impl RefUnwindSafe for GetUserParams
impl Send for GetUserParams
impl Sync for GetUserParams
impl Unpin for GetUserParams
impl UnwindSafe for GetUserParams
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