Struct intuicio_frontend_vault::VaultStruct
source · pub struct VaultStruct {
pub name: String,
pub fields: Vec<VaultStructField>,
pub methods: Vec<VaultFunction>,
}
Fields§
§name: String
§fields: Vec<VaultStructField>
§methods: Vec<VaultFunction>
Implementations§
source§impl VaultStruct
impl VaultStruct
pub fn compile_struct(&self, module_name: &str) -> ScriptStruct<'static>
pub fn compile_methods( &self, module_name: &str ) -> Vec<ScriptFunction<'static, VaultScriptExpression>>
Trait Implementations§
source§impl Clone for VaultStruct
impl Clone for VaultStruct
source§fn clone(&self) -> VaultStruct
fn clone(&self) -> VaultStruct
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 VaultStruct
impl Debug for VaultStruct
source§impl<'de> Deserialize<'de> for VaultStruct
impl<'de> Deserialize<'de> for VaultStruct
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 VaultStruct
impl RefUnwindSafe for VaultStruct
impl Send for VaultStruct
impl Sync for VaultStruct
impl Unpin for VaultStruct
impl UnwindSafe for VaultStruct
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