Struct beaker::WorkspaceConfig
source · pub struct WorkspaceConfig {
pub template: Template,
}Fields§
§template: TemplateTemplate reference for generating new project
Trait Implementations§
source§impl<'a> Context<'a, WorkspaceConfig> for WorkspaceContext
impl<'a> Context<'a, WorkspaceConfig> for WorkspaceContext
fn config(&self) -> Result<WorkspaceConfig>
fn config_file_name(&self) -> String
fn config_file_path(&self) -> Result<PathBuf>
fn root(&self) -> Result<PathBuf>
fn global_config(&self) -> Result<GlobalConfig>
source§impl Default for WorkspaceConfig
impl Default for WorkspaceConfig
source§impl<'de> Deserialize<'de> for WorkspaceConfig
impl<'de> Deserialize<'de> for WorkspaceConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl GetDataDocs for WorkspaceConfig
impl GetDataDocs for WorkspaceConfig
fn get_data_docs() -> Vec<DataDoc>
source§impl<'a> Module<'a, WorkspaceConfig, WorkspaceCmd, Error> for WorkspaceModule
impl<'a> Module<'a, WorkspaceConfig, WorkspaceCmd, Error> for WorkspaceModule
fn execute<Ctx: Context<'a, WorkspaceConfig>>( ctx: Ctx, cmd: &WorkspaceCmd ) -> Result<(), Error>
Auto Trait Implementations§
impl RefUnwindSafe for WorkspaceConfig
impl Send for WorkspaceConfig
impl Sync for WorkspaceConfig
impl Unpin for WorkspaceConfig
impl UnwindSafe for WorkspaceConfig
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.