pub struct AiCallbackRequest {
pub request_id: String,
pub service_id: ServiceId,
pub token: String,
pub prompt: String,
pub context: Value,
pub model_config: AiModelConfig,
pub timeout_ms: u64,
}Expand description
AI callback request
Fields§
§request_id: StringRequest ID from original node execution
service_id: ServiceIdService ID making the callback
token: StringSecurity token
prompt: StringPrompt to send to AI
context: ValueContext data
model_config: AiModelConfigModel configuration
timeout_ms: u64Timeout in milliseconds
Trait Implementations§
Source§impl Clone for AiCallbackRequest
impl Clone for AiCallbackRequest
Source§fn clone(&self) -> AiCallbackRequest
fn clone(&self) -> AiCallbackRequest
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 AiCallbackRequest
impl Debug for AiCallbackRequest
Source§impl<'de> Deserialize<'de> for AiCallbackRequest
impl<'de> Deserialize<'de> for AiCallbackRequest
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
Auto Trait Implementations§
impl Freeze for AiCallbackRequest
impl RefUnwindSafe for AiCallbackRequest
impl Send for AiCallbackRequest
impl Sync for AiCallbackRequest
impl Unpin for AiCallbackRequest
impl UnsafeUnpin for AiCallbackRequest
impl UnwindSafe for AiCallbackRequest
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