pub struct Person {}
Expand description
A human being. All people are considered agents.
Implementations§
source§impl Person
impl Person
sourcepub fn builder() -> PersonBuilder
pub fn builder() -> PersonBuilder
Create an empty builder object for Person
sourcepub fn into_builder(self) -> PersonBuilder
pub fn into_builder(self) -> PersonBuilder
Turns Person into PersonBuilder
Trait Implementations§
source§impl<'de> Deserialize<'de> for Person
impl<'de> Deserialize<'de> for Person
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 Person
impl PartialEq for Person
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnwindSafe for Person
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