pub enum BrokerOperation {
Catalog {
provider: CloudProviderId,
context_ref: String,
allow_stale: bool,
},
Invoke {
provider: CloudProviderId,
context_ref: String,
model_id: String,
request: InvokeRequest,
},
}Variants§
Trait Implementations§
Source§impl Clone for BrokerOperation
impl Clone for BrokerOperation
Source§fn clone(&self) -> BrokerOperation
fn clone(&self) -> BrokerOperation
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 BrokerOperation
impl Debug for BrokerOperation
Source§impl<'de> Deserialize<'de> for BrokerOperation
impl<'de> Deserialize<'de> for BrokerOperation
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
impl Eq for BrokerOperation
Source§impl PartialEq for BrokerOperation
impl PartialEq for BrokerOperation
Source§impl Serialize for BrokerOperation
impl Serialize for BrokerOperation
impl StructuralPartialEq for BrokerOperation
Auto Trait Implementations§
impl Freeze for BrokerOperation
impl RefUnwindSafe for BrokerOperation
impl Send for BrokerOperation
impl Sync for BrokerOperation
impl Unpin for BrokerOperation
impl UnsafeUnpin for BrokerOperation
impl UnwindSafe for BrokerOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.