pub struct StdAddon;Implementations§
Trait Implementations§
Source§impl Addon for StdAddon
impl Addon for StdAddon
fn get_name(&self) -> &str
fn get_description(&self) -> &str
fn get_namespace(&self) -> &str
fn get_functions(&self) -> Vec<FunctionSpecification>
fn get_actions(&self) -> Vec<PreCommandSpecification>
fn get_signers(&self) -> Vec<SignerSpecification>
fn to_json(&self, _value: &Value) -> Result<Option<Value>, Diagnostic>
fn build_function_lookup(&self) -> HashMap<String, FunctionSpecification>
fn build_command_lookup(&self) -> HashMap<CommandId, PreCommandSpecification>
fn build_signer_lookup(&self) -> HashMap<String, SignerSpecification>
fn get_domain_specific_commands_inputs_dependencies<'a>( &self, _commands_instances: &'a Vec<(ConstructDid, &'a CommandInstance, Option<&'a CommandInputsEvaluationResult>)>, ) -> Result<AddonPostProcessingResult, (Diagnostic, ConstructDid)>
Auto Trait Implementations§
impl Freeze for StdAddon
impl RefUnwindSafe for StdAddon
impl Send for StdAddon
impl Sync for StdAddon
impl Unpin for StdAddon
impl UnsafeUnpin for StdAddon
impl UnwindSafe for StdAddon
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