pub struct FunctionInput {
pub name: String,
pub schema: Option<String>,
pub arguments: String,
pub returns: String,
pub language: String,
pub body: String,
pub volatility: Volatility,
pub security_definer: bool,
}Expand description
Authored function definition without opaque raw SQL metadata.
Fields§
§name: StringFunction name.
schema: Option<String>Optional database schema name.
arguments: StringFunction argument signature.
returns: StringFunction return type.
language: StringFunction language.
body: StringFunction body.
volatility: VolatilityFunction volatility.
security_definer: boolWhether the function is SECURITY DEFINER.
Trait Implementations§
Source§impl Clone for FunctionInput
impl Clone for FunctionInput
Source§fn clone(&self) -> FunctionInput
fn clone(&self) -> FunctionInput
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 FunctionInput
impl Debug for FunctionInput
Source§impl<'de> Deserialize<'de> for FunctionInput
impl<'de> Deserialize<'de> for FunctionInput
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
Source§impl PartialEq for FunctionInput
impl PartialEq for FunctionInput
impl StructuralPartialEq for FunctionInput
Auto Trait Implementations§
impl Freeze for FunctionInput
impl RefUnwindSafe for FunctionInput
impl Send for FunctionInput
impl Sync for FunctionInput
impl Unpin for FunctionInput
impl UnsafeUnpin for FunctionInput
impl UnwindSafe for FunctionInput
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