pub struct ScriptFileBootstrapDescriptor;Expand description
Plugin descriptor for the ScriptFile bootstrap provider.
Trait Implementations§
Source§impl BootstrapPluginDescriptor for ScriptFileBootstrapDescriptor
impl BootstrapPluginDescriptor for ScriptFileBootstrapDescriptor
Source§fn kind(&self) -> &str
fn kind(&self) -> &str
The unique kind identifier for this bootstrapper (e.g.,
"postgres", "scriptfile").Source§fn config_version(&self) -> &str
fn config_version(&self) -> &str
The semver version of this plugin’s configuration DTO.
Source§fn config_schema_name(&self) -> &str
fn config_schema_name(&self) -> &str
Returns the OpenAPI schema name for this plugin’s configuration DTO.
Source§fn config_schema_json(&self) -> String
fn config_schema_json(&self) -> String
Returns all OpenAPI schemas as a JSON-serialized map (see
SourcePluginDescriptor::config_schema_json).Source§fn create_bootstrap_provider<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config_json: &'life1 Value,
_source_config_json: &'life2 Value,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn BootstrapProvider>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_bootstrap_provider<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config_json: &'life1 Value,
_source_config_json: &'life2 Value,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn BootstrapProvider>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Create a new bootstrap provider from the given configuration. Read more
Auto Trait Implementations§
impl Freeze for ScriptFileBootstrapDescriptor
impl RefUnwindSafe for ScriptFileBootstrapDescriptor
impl Send for ScriptFileBootstrapDescriptor
impl Sync for ScriptFileBootstrapDescriptor
impl Unpin for ScriptFileBootstrapDescriptor
impl UnsafeUnpin for ScriptFileBootstrapDescriptor
impl UnwindSafe for ScriptFileBootstrapDescriptor
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