pub struct RegisteredHostCallbackDefinition {
pub description: String,
pub input_schema: JsonUtf8,
pub timeout_ms: Option<u64>,
pub examples: Vec<RegisteredHostCallbackExample>,
}Fields§
§description: String§input_schema: JsonUtf8§timeout_ms: Option<u64>§examples: Vec<RegisteredHostCallbackExample>Trait Implementations§
Source§impl Clone for RegisteredHostCallbackDefinition
impl Clone for RegisteredHostCallbackDefinition
Source§fn clone(&self) -> RegisteredHostCallbackDefinition
fn clone(&self) -> RegisteredHostCallbackDefinition
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<'de> Deserialize<'de> for RegisteredHostCallbackDefinition
impl<'de> Deserialize<'de> for RegisteredHostCallbackDefinition
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 RegisteredHostCallbackDefinition
Source§impl PartialEq for RegisteredHostCallbackDefinition
impl PartialEq for RegisteredHostCallbackDefinition
Source§fn eq(&self, other: &RegisteredHostCallbackDefinition) -> bool
fn eq(&self, other: &RegisteredHostCallbackDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisteredHostCallbackDefinition
Auto Trait Implementations§
impl Freeze for RegisteredHostCallbackDefinition
impl RefUnwindSafe for RegisteredHostCallbackDefinition
impl Send for RegisteredHostCallbackDefinition
impl Sync for RegisteredHostCallbackDefinition
impl Unpin for RegisteredHostCallbackDefinition
impl UnsafeUnpin for RegisteredHostCallbackDefinition
impl UnwindSafe for RegisteredHostCallbackDefinition
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