pub struct PowerProfileStatusBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> PowerProfileStatusBuilder<S>
impl<S: State> PowerProfileStatusBuilder<S>
Sourcepub fn build(self) -> PowerProfileStatuswhere
S: IsComplete,
pub fn build(self) -> PowerProfileStatuswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn message_id(self, value: Id) -> PowerProfileStatusBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn message_id(self, value: Id) -> PowerProfileStatusBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn maybe_message_id(
self,
value: Option<Id>,
) -> PowerProfileStatusBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn maybe_message_id(
self,
value: Option<Id>,
) -> PowerProfileStatusBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn sequence_container_status(
self,
value: Vec<PowerSequenceContainerStatus>,
) -> PowerProfileStatusBuilder<SetSequenceContainerStatus<S>>where
S::SequenceContainerStatus: IsUnset,
pub fn sequence_container_status(
self,
value: Vec<PowerSequenceContainerStatus>,
) -> PowerProfileStatusBuilder<SetSequenceContainerStatus<S>>where
S::SequenceContainerStatus: IsUnset,
Required.
One entry per container in the profile — all of them, not only the interesting ones.
Auto Trait Implementations§
impl<S> Forget for PowerProfileStatusBuilder<S>
impl<S> Freeze for PowerProfileStatusBuilder<S>
impl<S> Move for PowerProfileStatusBuilder<S>
impl<S> RefUnwindSafe for PowerProfileStatusBuilder<S>
impl<S> Send for PowerProfileStatusBuilder<S>
impl<S> Sync for PowerProfileStatusBuilder<S>
impl<S> Unpin for PowerProfileStatusBuilder<S>
impl<S> UnsafeUnpin for PowerProfileStatusBuilder<S>
impl<S> UnwindSafe for PowerProfileStatusBuilder<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