Struct wick_config::config::components::SqlComponentConfig
source · pub struct SqlComponentConfig { /* private fields */ }Expand description
A component made out of other components
Implementations§
source§impl SqlComponentConfig
impl SqlComponentConfig
pub fn resource(&self) -> &str
pub fn set_resource<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn resource_mut(&mut self) -> &mut String
pub fn tls(&self) -> bool
pub fn set_tls<T: Into<bool>>(&mut self, val: T) -> &mut Self
pub fn tls_mut(&mut self) -> &mut bool
pub fn config(&self) -> &[Field]
pub fn set_config<T: Into<Field>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn config_mut(&mut self) -> &mut Vec<Field>
Trait Implementations§
source§impl AssetManager for SqlComponentConfig
impl AssetManager for SqlComponentConfig
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for SqlComponentConfig
impl Clone for SqlComponentConfig
source§fn clone(&self) -> SqlComponentConfig
fn clone(&self) -> SqlComponentConfig
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 ComponentConfig for SqlComponentConfig
impl ComponentConfig for SqlComponentConfig
type Operation = SqlOperationDefinition
source§fn operations(&self) -> &[Self::Operation]
fn operations(&self) -> &[Self::Operation]
Get the operations defined by this configuration.
source§fn operations_mut(&mut self) -> &mut Vec<Self::Operation>
fn operations_mut(&mut self) -> &mut Vec<Self::Operation>
Get the operations defined by this configuration.
source§impl Debug for SqlComponentConfig
impl Debug for SqlComponentConfig
source§impl OperationSignatures for SqlComponentConfig
impl OperationSignatures for SqlComponentConfig
source§fn operation_signatures(&self) -> Vec<OperationSignature>
fn operation_signatures(&self) -> Vec<OperationSignature>
Get a list of operations hosted by the implementer.
source§fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
Get an operation signature by name.
source§impl PartialEq<SqlComponentConfig> for SqlComponentConfig
impl PartialEq<SqlComponentConfig> for SqlComponentConfig
source§fn eq(&self, other: &SqlComponentConfig) -> bool
fn eq(&self, other: &SqlComponentConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SqlComponentConfig
impl Serialize for SqlComponentConfig
source§impl TryFrom<SqlComponent> for SqlComponentConfig
impl TryFrom<SqlComponent> for SqlComponentConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<SqlComponentConfig> for SqlComponent
impl TryFrom<SqlComponentConfig> for SqlComponent
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SqlComponentConfig
Auto Trait Implementations§
impl RefUnwindSafe for SqlComponentConfig
impl Send for SqlComponentConfig
impl Sync for SqlComponentConfig
impl Unpin for SqlComponentConfig
impl UnwindSafe for SqlComponentConfig
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