pub struct FunctionBody {
pub text: String,
pub path: Vec<u32>,
}Expand description
The body of a function in SQL, which the analyzer reads again each time a query calls the function, as it reads the query of a view.
Fields§
§text: StringThe text of the statement that made the function.
path: Vec<u32>The schemas of search_path when that statement ran, in order.
Trait Implementations§
Source§impl Clone for FunctionBody
impl Clone for FunctionBody
Source§impl Debug for FunctionBody
impl Debug for FunctionBody
impl Eq for FunctionBody
Source§impl PartialEq for FunctionBody
impl PartialEq for FunctionBody
impl StructuralPartialEq for FunctionBody
Auto Trait Implementations§
impl Freeze for FunctionBody
impl RefUnwindSafe for FunctionBody
impl Send for FunctionBody
impl Sync for FunctionBody
impl Unpin for FunctionBody
impl UnsafeUnpin for FunctionBody
impl UnwindSafe for FunctionBody
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