pub struct RandomUser {
pub gender: Gender,
pub name: Name,
pub location: Location,
pub email: String,
pub login: Login,
pub birthday: RandomDate,
pub registered: RandomDate,
pub phone: String,
pub cell: String,
pub id: Identity,
pub picture: Picture,
pub nationality: Nationality,
}
Fields§
§gender: Gender
§name: Name
§location: Location
§email: String
§login: Login
§birthday: RandomDate
§registered: RandomDate
§phone: String
§cell: String
§id: Identity
§picture: Picture
§nationality: Nationality
Trait Implementations§
Source§impl Clone for RandomUser
impl Clone for RandomUser
Source§fn clone(&self) -> RandomUser
fn clone(&self) -> RandomUser
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RandomUser
impl Debug for RandomUser
Source§impl<'de> Deserialize<'de> for RandomUser
impl<'de> Deserialize<'de> for RandomUser
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 RandomUser
impl PartialEq for RandomUser
impl Eq for RandomUser
impl StructuralPartialEq for RandomUser
Auto Trait Implementations§
impl Freeze for RandomUser
impl RefUnwindSafe for RandomUser
impl Send for RandomUser
impl Sync for RandomUser
impl Unpin for RandomUser
impl UnwindSafe for RandomUser
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.