pub struct GetPromptResultBuilder { /* private fields */ }Expand description
Builder for constructing GetPromptResult with multiple messages.
Implementations§
Source§impl GetPromptResultBuilder
impl GetPromptResultBuilder
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set the prompt description.
Sourcepub fn build(self) -> GetPromptResult
pub fn build(self) -> GetPromptResult
Build the final result.
Trait Implementations§
Source§impl Clone for GetPromptResultBuilder
impl Clone for GetPromptResultBuilder
Source§fn clone(&self) -> GetPromptResultBuilder
fn clone(&self) -> GetPromptResultBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetPromptResultBuilder
impl Debug for GetPromptResultBuilder
Source§impl Default for GetPromptResultBuilder
impl Default for GetPromptResultBuilder
Source§fn default() -> GetPromptResultBuilder
fn default() -> GetPromptResultBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetPromptResultBuilder
impl RefUnwindSafe for GetPromptResultBuilder
impl Send for GetPromptResultBuilder
impl Sync for GetPromptResultBuilder
impl Unpin for GetPromptResultBuilder
impl UnwindSafe for GetPromptResultBuilder
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