pub struct SidecarParam {
pub name: String,
pub lang_type: String,
pub source: HttpParamBinding,
}Expand description
One argument of a sidecar call.
Fields§
§name: StringSQL parameter name as it appears in scythe’s AnalyzedParam and in the
scythe-generated function signature.
lang_type: StringResolved language type (e.g. int in Python, number in TS,
Option<i32> in Rust).
source: HttpParamBindingWhere to pull the value from in the HTTP request.
Trait Implementations§
Source§impl Clone for SidecarParam
impl Clone for SidecarParam
Source§fn clone(&self) -> SidecarParam
fn clone(&self) -> SidecarParam
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 SidecarParam
impl Debug for SidecarParam
Source§impl<'de> Deserialize<'de> for SidecarParam
impl<'de> Deserialize<'de> for SidecarParam
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 SidecarParam
impl RefUnwindSafe for SidecarParam
impl Send for SidecarParam
impl Sync for SidecarParam
impl Unpin for SidecarParam
impl UnsafeUnpin for SidecarParam
impl UnwindSafe for SidecarParam
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