pub struct CatalogFunction {Show 17 fields
pub key: String,
pub name: String,
pub signature: Option<String>,
pub language: Option<String>,
pub returns_set: Option<bool>,
pub returns_trigger: bool,
pub returns_event_trigger: bool,
pub definition: String,
pub body: Option<String>,
pub body_span: Option<(usize, usize)>,
pub null_input: String,
pub security: String,
pub parallel: String,
pub leakproof: String,
pub volatility: String,
pub return_contract: String,
pub planner: String,
/* private fields */
}Fields§
§key: String§name: String§signature: Option<String>§language: Option<String>§returns_set: Option<bool>§returns_trigger: bool§returns_event_trigger: bool§definition: String§body: Option<String>§body_span: Option<(usize, usize)>§null_input: String§security: String§parallel: String§leakproof: String§volatility: String§return_contract: String§planner: StringImplementations§
Source§impl CatalogFunction
impl CatalogFunction
pub fn body_as_statements(&self) -> Option<Cow<'_, str>>
Trait Implementations§
Source§impl Clone for CatalogFunction
impl Clone for CatalogFunction
Source§impl Debug for CatalogFunction
impl Debug for CatalogFunction
impl Eq for CatalogFunction
Source§impl PartialEq for CatalogFunction
impl PartialEq for CatalogFunction
impl StructuralPartialEq for CatalogFunction
Auto Trait Implementations§
impl Forget for CatalogFunction
impl Freeze for CatalogFunction
impl Move for CatalogFunction
impl RefUnwindSafe for CatalogFunction
impl Send for CatalogFunctionwhere
RawVecInner: Send,
impl Sync for CatalogFunctionwhere
RawVecInner: Sync,
impl Unpin for CatalogFunction
impl UnsafeUnpin for CatalogFunction
impl UnwindSafe for CatalogFunctionwhere
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,
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§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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more