Struct intuicio_frontend_vault::VaultFunction
source · pub struct VaultFunction {
pub name: String,
pub arguments: Vec<VaultFunctionParameter>,
pub return_type: Option<String>,
pub statements: Vec<VaultStatement>,
}
Fields§
§name: String
§arguments: Vec<VaultFunctionParameter>
§return_type: Option<String>
§statements: Vec<VaultStatement>
Implementations§
source§impl VaultFunction
impl VaultFunction
pub fn compile( &self, module_name: &str, type_query: Option<TypeQuery<'static>> ) -> ScriptFunction<'static, VaultScriptExpression>
Trait Implementations§
source§impl Clone for VaultFunction
impl Clone for VaultFunction
source§fn clone(&self) -> VaultFunction
fn clone(&self) -> VaultFunction
Returns a copy 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 VaultFunction
impl Debug for VaultFunction
source§impl<'de> Deserialize<'de> for VaultFunction
impl<'de> Deserialize<'de> for VaultFunction
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
Auto Trait Implementations§
impl Freeze for VaultFunction
impl RefUnwindSafe for VaultFunction
impl Send for VaultFunction
impl Sync for VaultFunction
impl Unpin for VaultFunction
impl UnwindSafe for VaultFunction
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