pub enum CustomSystemInstructionsPartPart {
Text(String),
Template(CustomSystemInstructionsSystemInstructionTemplate),
}Expand description
The part oneof of CustomSystemInstructionsPart, as an owned value.
Variants§
Text(String)
Template(CustomSystemInstructionsSystemInstructionTemplate)
Trait Implementations§
Source§impl Clone for CustomSystemInstructionsPartPart
impl Clone for CustomSystemInstructionsPartPart
Source§fn clone(&self) -> CustomSystemInstructionsPartPart
fn clone(&self) -> CustomSystemInstructionsPartPart
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 moreimpl StructuralPartialEq for CustomSystemInstructionsPartPart
Auto Trait Implementations§
impl Freeze for CustomSystemInstructionsPartPart
impl RefUnwindSafe for CustomSystemInstructionsPartPart
impl Send for CustomSystemInstructionsPartPart
impl Sync for CustomSystemInstructionsPartPart
impl Unpin for CustomSystemInstructionsPartPart
impl UnsafeUnpin for CustomSystemInstructionsPartPart
impl UnwindSafe for CustomSystemInstructionsPartPart
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