Struct random_user::RandomUser
source · 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: NationalityTrait Implementations§
source§impl Clone for RandomUser
impl Clone for RandomUser
source§fn clone(&self) -> RandomUser
fn clone(&self) -> RandomUser
Returns a copy 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 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
Auto Trait Implementations§
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