pub struct ExternalInstructedAgentInstruction1CodeBuilder { /* private fields */ }Expand description
Builder for ExternalInstructedAgentInstruction1Code.
Implementations§
Source§impl ExternalInstructedAgentInstruction1CodeBuilder
impl ExternalInstructedAgentInstruction1CodeBuilder
pub fn value(&mut self, value: String) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ExternalInstructedAgentInstruction1Code, ExternalInstructedAgentInstruction1CodeBuilderError>
pub fn build( &self, ) -> Result<ExternalInstructedAgentInstruction1Code, ExternalInstructedAgentInstruction1CodeBuilderError>
Builds a new ExternalInstructedAgentInstruction1Code.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for ExternalInstructedAgentInstruction1CodeBuilder
impl Clone for ExternalInstructedAgentInstruction1CodeBuilder
Source§fn clone(&self) -> ExternalInstructedAgentInstruction1CodeBuilder
fn clone(&self) -> ExternalInstructedAgentInstruction1CodeBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExternalInstructedAgentInstruction1CodeBuilder
impl RefUnwindSafe for ExternalInstructedAgentInstruction1CodeBuilder
impl Send for ExternalInstructedAgentInstruction1CodeBuilder
impl Sync for ExternalInstructedAgentInstruction1CodeBuilder
impl Unpin for ExternalInstructedAgentInstruction1CodeBuilder
impl UnsafeUnpin for ExternalInstructedAgentInstruction1CodeBuilder
impl UnwindSafe for ExternalInstructedAgentInstruction1CodeBuilder
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