pub struct Procedure {
pub name: String,
pub params: Vec<String>,
pub modes: Vec<String>,
pub body: Vec<ScriptNode>,
pub text: String,
}Expand description
A stored procedure with a SQL body.
Fields§
§name: String§params: Vec<String>§modes: Vec<String>IN, OUT or INOUT per parameter.
body: Vec<ScriptNode>§text: StringThe script text the body’s offsets point into.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Procedure
impl<'de> Deserialize<'de> for Procedure
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 Procedure
impl StructuralPartialEq for Procedure
Auto Trait Implementations§
impl Forget for Procedure
impl Freeze for Procedurewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ScriptNode>: Freeze,
impl Move for Procedure
impl RefUnwindSafe for Procedure
impl Send for Procedurewhere
RawVecInner: Send,
impl Sync for Procedurewhere
RawVecInner: Sync,
impl Unpin for Procedure
impl UnsafeUnpin for Procedurewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ScriptNode>: UnsafeUnpin,
impl UnwindSafe for Procedurewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.