pub struct DraftRequest {
pub task: TaskDescription,
pub constraints: TaskConstraints,
pub diversity: DiversityPreference,
pub external_context: Option<ExternalContextBundle>,
}Expand description
Input for a fresh proposal.
Fields§
§task: TaskDescription§constraints: TaskConstraints§diversity: DiversityPreference§external_context: Option<ExternalContextBundle>Trait Implementations§
Source§impl Clone for DraftRequest
impl Clone for DraftRequest
Source§impl Debug for DraftRequest
impl Debug for DraftRequest
impl Eq for DraftRequest
Source§impl PartialEq for DraftRequest
impl PartialEq for DraftRequest
impl StructuralPartialEq for DraftRequest
Auto Trait Implementations§
impl Freeze for DraftRequest
impl RefUnwindSafe for DraftRequest
impl Send for DraftRequest
impl Sync for DraftRequest
impl Unpin for DraftRequest
impl UnsafeUnpin for DraftRequest
impl UnwindSafe for DraftRequest
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