pub struct SqlComponentConfig { /* private fields */ }Expand description
A component made out of other components
Implementations§
Source§impl SqlComponentConfig
impl SqlComponentConfig
pub fn resource(&self) -> &BoundIdentifier
pub fn set_resource<T: Into<BoundIdentifier>>(&mut self, val: T) -> &mut Self
pub fn resource_mut(&mut self) -> &mut BoundIdentifier
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 duplicate 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 for SqlComponentConfig
impl PartialEq for SqlComponentConfig
Source§impl Serialize for SqlComponentConfig
impl Serialize for SqlComponentConfig
Source§impl TryFrom<SqlComponent> for SqlComponentConfig
impl TryFrom<SqlComponent> for SqlComponentConfig
Source§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
Source§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SqlComponentConfig
Auto Trait Implementations§
impl Freeze for SqlComponentConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more