pub struct ConfigModule {
pub key: String,
pub name: String,
}Expand description
Represents a configurable module in the application.
This structure is used during interactive configuration setup to display available modules and allow users to select which integrations they want to configure. Each module has a unique key for internal identification and a human-readable name for display purposes.
Fields§
§key: StringUnique identifier for the module used in configuration routing
name: StringDisplay name shown to users during interactive setup
Trait Implementations§
Source§impl Clone for ConfigModule
impl Clone for ConfigModule
Source§fn clone(&self) -> ConfigModule
fn clone(&self) -> ConfigModule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConfigModule
impl RefUnwindSafe for ConfigModule
impl Send for ConfigModule
impl Sync for ConfigModule
impl Unpin for ConfigModule
impl UnsafeUnpin for ConfigModule
impl UnwindSafe for ConfigModule
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