pub struct CreateRunRequestInput {
pub message: Option<String>,
pub file_ids: Option<Vec<String>>,
}Expand description
Free-form input for the agent; message is the conventional field. file_ids attaches
uploaded files (at most 20): every id is resolved against THIS tenant before the run is
created, and an id with no file here is refused with 422 rather than accepted and dropped —
an unresolvable id would otherwise travel to the agent, and to a bridge agent’s machine, as
an attachment that cannot be fetched.
Fields§
§message: Option<String>§file_ids: Option<Vec<String>>Trait Implementations§
Source§impl Clone for CreateRunRequestInput
impl Clone for CreateRunRequestInput
Source§fn clone(&self) -> CreateRunRequestInput
fn clone(&self) -> CreateRunRequestInput
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 moreSource§impl Debug for CreateRunRequestInput
impl Debug for CreateRunRequestInput
Source§impl Default for CreateRunRequestInput
impl Default for CreateRunRequestInput
Source§fn default() -> CreateRunRequestInput
fn default() -> CreateRunRequestInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateRunRequestInput
impl<'de> Deserialize<'de> for CreateRunRequestInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateRunRequestInput
impl PartialEq for CreateRunRequestInput
Source§impl Serialize for CreateRunRequestInput
impl Serialize for CreateRunRequestInput
impl StructuralPartialEq for CreateRunRequestInput
Auto Trait Implementations§
impl Freeze for CreateRunRequestInput
impl RefUnwindSafe for CreateRunRequestInput
impl Send for CreateRunRequestInput
impl Sync for CreateRunRequestInput
impl Unpin for CreateRunRequestInput
impl UnsafeUnpin for CreateRunRequestInput
impl UnwindSafe for CreateRunRequestInput
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