pub struct PostgresFunction {Show 19 fields
pub function_name: String,
pub language: String,
pub estimated_cost: NotNan<f32>,
pub estimated_rows: NotNan<f32>,
pub support_function: Option<String>,
pub kind: FunctionKind,
pub security_definer: bool,
pub leak_proof: bool,
pub strict: bool,
pub returns_set: bool,
pub volatility: Volatility,
pub parallel: Parallel,
pub sql_body: WhitespaceIgnorantString,
pub configuration: Option<Vec<String>>,
pub arguments: String,
pub result: Option<String>,
pub comment: Option<String>,
pub object_id: ObjectId,
pub depends_on: Vec<ObjectId>,
}Fields§
§function_name: String§language: String§estimated_cost: NotNan<f32>§estimated_rows: NotNan<f32>§support_function: Option<String>§kind: FunctionKind§security_definer: bool§leak_proof: bool§strict: bool§returns_set: bool§volatility: Volatility§parallel: Parallel§sql_body: WhitespaceIgnorantString§configuration: Option<Vec<String>>§arguments: String§result: Option<String>§comment: Option<String>§object_id: ObjectId§depends_on: Vec<ObjectId>Implementations§
Source§impl PostgresFunction
impl PostgresFunction
pub fn get_create_statement( &self, schema: &PostgresSchema, identifier_quoter: &IdentifierQuoter, ) -> String
Trait Implementations§
Source§impl Clone for PostgresFunction
impl Clone for PostgresFunction
Source§fn clone(&self) -> PostgresFunction
fn clone(&self) -> PostgresFunction
Returns a duplicate of the value. Read more
1.0.0 · 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 PostgresFunction
impl Debug for PostgresFunction
Source§impl Default for PostgresFunction
impl Default for PostgresFunction
Source§fn default() -> PostgresFunction
fn default() -> PostgresFunction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresFunction
impl<'de> Deserialize<'de> for PostgresFunction
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 PostgresFunction
impl PartialEq for PostgresFunction
Source§impl Serialize for PostgresFunction
impl Serialize for PostgresFunction
impl Eq for PostgresFunction
impl StructuralPartialEq for PostgresFunction
Auto Trait Implementations§
impl Freeze for PostgresFunction
impl RefUnwindSafe for PostgresFunction
impl Send for PostgresFunction
impl Sync for PostgresFunction
impl Unpin for PostgresFunction
impl UnwindSafe for PostgresFunction
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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