pub struct TemperamentProfileBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TemperamentProfileBuilder<S>
impl<S: State> TemperamentProfileBuilder<S>
Sourcepub fn build(self) -> TemperamentProfilewhere
S: IsComplete,
pub fn build(self) -> TemperamentProfilewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn group_play_observation(
self,
value: GroupPlayObservation,
) -> TemperamentProfileBuilder<SetGroupPlayObservation<S>>where
S::GroupPlayObservation: IsUnset,
pub fn group_play_observation(
self,
value: GroupPlayObservation,
) -> TemperamentProfileBuilder<SetGroupPlayObservation<S>>where
S::GroupPlayObservation: IsUnset,
Sourcepub fn maybe_group_play_observation(
self,
value: Option<GroupPlayObservation>,
) -> TemperamentProfileBuilder<SetGroupPlayObservation<S>>where
S::GroupPlayObservation: IsUnset,
pub fn maybe_group_play_observation(
self,
value: Option<GroupPlayObservation>,
) -> TemperamentProfileBuilder<SetGroupPlayObservation<S>>where
S::GroupPlayObservation: IsUnset,
Sourcepub fn people_orientation(
self,
value: PeopleOrientation,
) -> TemperamentProfileBuilder<SetPeopleOrientation<S>>where
S::PeopleOrientation: IsUnset,
pub fn people_orientation(
self,
value: PeopleOrientation,
) -> TemperamentProfileBuilder<SetPeopleOrientation<S>>where
S::PeopleOrientation: IsUnset,
Sourcepub fn maybe_people_orientation(
self,
value: Option<PeopleOrientation>,
) -> TemperamentProfileBuilder<SetPeopleOrientation<S>>where
S::PeopleOrientation: IsUnset,
pub fn maybe_people_orientation(
self,
value: Option<PeopleOrientation>,
) -> TemperamentProfileBuilder<SetPeopleOrientation<S>>where
S::PeopleOrientation: IsUnset,
Sourcepub fn rating(self, value: Rating) -> TemperamentProfileBuilder<SetRating<S>>where
S::Rating: IsUnset,
pub fn rating(self, value: Rating) -> TemperamentProfileBuilder<SetRating<S>>where
S::Rating: IsUnset,
Sourcepub fn maybe_rating(
self,
value: Option<Rating>,
) -> TemperamentProfileBuilder<SetRating<S>>where
S::Rating: IsUnset,
pub fn maybe_rating(
self,
value: Option<Rating>,
) -> TemperamentProfileBuilder<SetRating<S>>where
S::Rating: IsUnset,
Sourcepub fn behavior_observations(
self,
value: Vec<BehaviorObservation>,
) -> TemperamentProfileBuilder<SetBehaviorObservations<S>>where
S::BehaviorObservations: IsUnset,
pub fn behavior_observations(
self,
value: Vec<BehaviorObservation>,
) -> TemperamentProfileBuilder<SetBehaviorObservations<S>>where
S::BehaviorObservations: IsUnset,
Sourcepub fn maybe_behavior_observations(
self,
value: Option<Vec<BehaviorObservation>>,
) -> TemperamentProfileBuilder<SetBehaviorObservations<S>>where
S::BehaviorObservations: IsUnset,
pub fn maybe_behavior_observations(
self,
value: Option<Vec<BehaviorObservation>>,
) -> TemperamentProfileBuilder<SetBehaviorObservations<S>>where
S::BehaviorObservations: IsUnset,
Sourcepub fn staff_notes(
self,
value: Vec<StaffNote>,
) -> TemperamentProfileBuilder<SetStaffNotes<S>>where
S::StaffNotes: IsUnset,
pub fn staff_notes(
self,
value: Vec<StaffNote>,
) -> TemperamentProfileBuilder<SetStaffNotes<S>>where
S::StaffNotes: IsUnset,
Sourcepub fn maybe_staff_notes(
self,
value: Option<Vec<StaffNote>>,
) -> TemperamentProfileBuilder<SetStaffNotes<S>>where
S::StaffNotes: IsUnset,
pub fn maybe_staff_notes(
self,
value: Option<Vec<StaffNote>>,
) -> TemperamentProfileBuilder<SetStaffNotes<S>>where
S::StaffNotes: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for TemperamentProfileBuilder<S>
impl<S> RefUnwindSafe for TemperamentProfileBuilder<S>
impl<S> Send for TemperamentProfileBuilder<S>
impl<S> Sync for TemperamentProfileBuilder<S>
impl<S> Unpin for TemperamentProfileBuilder<S>
impl<S> UnsafeUnpin for TemperamentProfileBuilder<S>
impl<S> UnwindSafe for TemperamentProfileBuilder<S>
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