pub struct FunctionSnapshot {
pub name: String,
pub signature: String,
pub body: String,
pub return_type: String,
}Expand description
Snapshot of a function/procedure
Fields§
§name: StringFunction name
signature: StringFunction signature (parameters)
body: StringFunction body/definition
return_type: StringReturn type
Trait Implementations§
Source§impl Clone for FunctionSnapshot
impl Clone for FunctionSnapshot
Source§fn clone(&self) -> FunctionSnapshot
fn clone(&self) -> FunctionSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionSnapshot
impl Debug for FunctionSnapshot
Source§impl<'de> Deserialize<'de> for FunctionSnapshot
impl<'de> Deserialize<'de> for FunctionSnapshot
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 FunctionSnapshot
Source§impl PartialEq for FunctionSnapshot
impl PartialEq for FunctionSnapshot
Source§fn eq(&self, other: &FunctionSnapshot) -> bool
fn eq(&self, other: &FunctionSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FunctionSnapshot
impl Serialize for FunctionSnapshot
impl StructuralPartialEq for FunctionSnapshot
Auto Trait Implementations§
impl Freeze for FunctionSnapshot
impl RefUnwindSafe for FunctionSnapshot
impl Send for FunctionSnapshot
impl Sync for FunctionSnapshot
impl Unpin for FunctionSnapshot
impl UnsafeUnpin for FunctionSnapshot
impl UnwindSafe for FunctionSnapshot
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