pub struct DeferredHandle {
pub provider: String,
pub model_id: String,
pub api: String,
pub id: String,
pub expires_at: Option<u64>,
pub poll_after_ms: Option<u64>,
pub data: Option<Value>,
}Expand description
Handle to a response the provider finishes later.
Fields§
§provider: String§model_id: String§api: String§id: String§expires_at: Option<u64>§poll_after_ms: Option<u64>§data: Option<Value>Trait Implementations§
Source§impl Clone for DeferredHandle
impl Clone for DeferredHandle
Source§impl Debug for DeferredHandle
impl Debug for DeferredHandle
Source§impl<'de> Deserialize<'de> for DeferredHandle
impl<'de> Deserialize<'de> for DeferredHandle
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 DeferredHandle
impl PartialEq for DeferredHandle
Source§impl Serialize for DeferredHandle
impl Serialize for DeferredHandle
impl StructuralPartialEq for DeferredHandle
Auto Trait Implementations§
impl Freeze for DeferredHandle
impl RefUnwindSafe for DeferredHandle
impl Send for DeferredHandle
impl Sync for DeferredHandle
impl Unpin for DeferredHandle
impl UnsafeUnpin for DeferredHandle
impl UnwindSafe for DeferredHandle
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