Struct staged_builder::ExamplePerson
source · pub struct ExamplePerson {
pub name: String,
pub age: u32,
pub parents: Vec<ExamplePerson>,
}
Expand description
An example type using #[staged_builder]
.
Fields§
§name: String
§age: u32
§parents: Vec<ExamplePerson>
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExamplePerson
impl Send for ExamplePerson
impl Sync for ExamplePerson
impl Unpin for ExamplePerson
impl UnwindSafe for ExamplePerson
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