pub struct StudyCommandMsgBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> StudyCommandMsgBuilder<S>
impl<S: State> StudyCommandMsgBuilder<S>
Sourcepub fn build(self) -> StudyCommandMsgwhere
S: IsComplete,
pub fn build(self) -> StudyCommandMsgwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn chart_session(
self,
value: impl Into<Ustr>,
) -> StudyCommandMsgBuilder<SetChartSession<S>>where
S::ChartSession: IsUnset,
pub fn chart_session(
self,
value: impl Into<Ustr>,
) -> StudyCommandMsgBuilder<SetChartSession<S>>where
S::ChartSession: IsUnset,
Required.
Sourcepub fn study_ids(
self,
value: [Ustr; 2],
) -> StudyCommandMsgBuilder<SetStudyIds<S>>where
S::StudyIds: IsUnset,
pub fn study_ids(
self,
value: [Ustr; 2],
) -> StudyCommandMsgBuilder<SetStudyIds<S>>where
S::StudyIds: IsUnset,
Required.
Sourcepub fn chart_series_id(
self,
value: impl Into<Ustr>,
) -> StudyCommandMsgBuilder<SetChartSeriesId<S>>where
S::ChartSeriesId: IsUnset,
pub fn chart_series_id(
self,
value: impl Into<Ustr>,
) -> StudyCommandMsgBuilder<SetChartSeriesId<S>>where
S::ChartSeriesId: IsUnset,
Required.
Sourcepub fn study(
self,
value: StudyConfiguration,
) -> StudyCommandMsgBuilder<SetStudy<S>>where
S::Study: IsUnset,
pub fn study(
self,
value: StudyConfiguration,
) -> StudyCommandMsgBuilder<SetStudy<S>>where
S::Study: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for StudyCommandMsgBuilder<S>
impl<S> RefUnwindSafe for StudyCommandMsgBuilder<S>
impl<S> Send for StudyCommandMsgBuilder<S>
impl<S> Sync for StudyCommandMsgBuilder<S>
impl<S> Unpin for StudyCommandMsgBuilder<S>
impl<S> UnsafeUnpin for StudyCommandMsgBuilder<S>
impl<S> UnwindSafe for StudyCommandMsgBuilder<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