pub struct Routine {
pub schema: String,
pub name: String,
pub kind: RoutineKind,
pub owner: String,
pub argument_signature: String,
pub return_type: Option<String>,
}Fields§
§schema: String§name: String§kind: RoutineKind§owner: String§argument_signature: StringPretty-printed argument list (integer, text). Built
server-side via pg_get_function_identity_arguments so
composite + array + qualified types render correctly.
return_type: Option<String>Return type name, when applicable. None for procedures
(they don’t return a single value) and aggregates that
return record-shaped output.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Routine
impl<'de> Deserialize<'de> for Routine
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Routine, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Routine, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Routine
impl Serialize for Routine
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Routine
impl RefUnwindSafe for Routine
impl Send for Routine
impl Sync for Routine
impl Unpin for Routine
impl UnsafeUnpin for Routine
impl UnwindSafe for Routine
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