pub struct RandomName {
pub first_name: String,
pub last_name: String,
}Expand description
Contains the first name component and the last name component of a random
name generated by the RandomNameGenerator.
Fields§
§first_name: String§last_name: StringTrait Implementations§
Source§impl Debug for RandomName
impl Debug for RandomName
Auto Trait Implementations§
impl Freeze for RandomName
impl RefUnwindSafe for RandomName
impl Send for RandomName
impl Sync for RandomName
impl Unpin for RandomName
impl UnwindSafe for RandomName
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