pub struct RuntimeFunctionDeclaration {
pub name: String,
pub version: u16,
pub queue: String,
pub input_schema: Option<String>,
pub retry_policy: Option<RuntimeRetryPolicyDeclaration>,
pub operation: Option<ServiceOperationMetadata>,
}Fields§
§name: StringStable function name used by runtime.function_runs.
version: u16Version for the declared function contract.
queue: StringQueue name the host should use when registering the function.
input_schema: Option<String>Optional schema identifier for the function input payload.
retry_policy: Option<RuntimeRetryPolicyDeclaration>Optional retry policy requested by the module. The host still owns enforcement and may clamp values when behavior registration is added.
operation: Option<ServiceOperationMetadata>Trait Implementations§
Source§impl Clone for RuntimeFunctionDeclaration
impl Clone for RuntimeFunctionDeclaration
Source§fn clone(&self) -> RuntimeFunctionDeclaration
fn clone(&self) -> RuntimeFunctionDeclaration
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 ComposeSchema for RuntimeFunctionDeclaration
impl ComposeSchema for RuntimeFunctionDeclaration
Source§impl Debug for RuntimeFunctionDeclaration
impl Debug for RuntimeFunctionDeclaration
Source§impl<'de> Deserialize<'de> for RuntimeFunctionDeclaration
impl<'de> Deserialize<'de> for RuntimeFunctionDeclaration
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 RuntimeFunctionDeclaration
impl StructuralPartialEq for RuntimeFunctionDeclaration
Auto Trait Implementations§
impl Freeze for RuntimeFunctionDeclaration
impl RefUnwindSafe for RuntimeFunctionDeclaration
impl Send for RuntimeFunctionDeclaration
impl Sync for RuntimeFunctionDeclaration
impl Unpin for RuntimeFunctionDeclaration
impl UnsafeUnpin for RuntimeFunctionDeclaration
impl UnwindSafe for RuntimeFunctionDeclaration
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.