pub struct RustackConfig {
pub gateway_listen: String,
pub default_region: AwsRegion,
pub log_level: String,
pub persistence: bool,
pub data_dir: String,
}Expand description
Global configuration for Rustack.
Fields§
§gateway_listen: StringBind address for the gateway.
default_region: AwsRegionDefault AWS region.
log_level: StringLog level.
persistence: boolWhether persistence is enabled.
data_dir: StringData directory for persistence.
Implementations§
Source§impl RustackConfig
impl RustackConfig
Trait Implementations§
Source§impl Clone for RustackConfig
impl Clone for RustackConfig
Source§fn clone(&self) -> RustackConfig
fn clone(&self) -> RustackConfig
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 Debug for RustackConfig
impl Debug for RustackConfig
Source§impl Default for RustackConfig
impl Default for RustackConfig
Source§impl<'de> Deserialize<'de> for RustackConfig
impl<'de> Deserialize<'de> for RustackConfig
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
Auto Trait Implementations§
impl Freeze for RustackConfig
impl RefUnwindSafe for RustackConfig
impl Send for RustackConfig
impl Sync for RustackConfig
impl Unpin for RustackConfig
impl UnsafeUnpin for RustackConfig
impl UnwindSafe for RustackConfig
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