pub struct ProcedureSchema {
pub proc_type: ProcedureType,
pub input: Value,
pub output: Option<Value>,
pub chunk_output: Option<Value>,
pub error: Option<Value>,
pub invalidates: Option<Vec<InvalidateTarget>>,
pub context: Option<Vec<String>>,
pub transport: Option<TransportConfig>,
pub suppress: Option<Vec<String>>,
pub cache: Option<CacheHint>,
}Fields§
§proc_type: ProcedureType§input: Value§output: Option<Value>§chunk_output: Option<Value>§error: Option<Value>§invalidates: Option<Vec<InvalidateTarget>>§context: Option<Vec<String>>§transport: Option<TransportConfig>§suppress: Option<Vec<String>>§cache: Option<CacheHint>Implementations§
Source§impl ProcedureSchema
impl ProcedureSchema
Sourcepub fn effective_output(&self) -> Option<&Value>
pub fn effective_output(&self) -> Option<&Value>
Return the effective output schema: chunkOutput for streams, output for others.
Trait Implementations§
Source§impl Clone for ProcedureSchema
impl Clone for ProcedureSchema
Source§fn clone(&self) -> ProcedureSchema
fn clone(&self) -> ProcedureSchema
Returns a duplicate of the value. Read more
1.0.0 · 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 ProcedureSchema
impl Debug for ProcedureSchema
Source§impl<'de> Deserialize<'de> for ProcedureSchema
impl<'de> Deserialize<'de> for ProcedureSchema
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 ProcedureSchema
impl RefUnwindSafe for ProcedureSchema
impl Send for ProcedureSchema
impl Sync for ProcedureSchema
impl Unpin for ProcedureSchema
impl UnsafeUnpin for ProcedureSchema
impl UnwindSafe for ProcedureSchema
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