pub struct DockerComposeConfig { /* private fields */ }Implementations§
Source§impl DockerComposeConfig
impl DockerComposeConfig
pub fn get_mysql_database(&self) -> String
pub fn try_get_mysql_database(&self) -> &Option<String>
pub fn get_mut_mysql_database(&mut self) -> &mut Option<String>
pub fn set_mysql_database(&mut self, val: Option<String>) -> &mut Self
pub fn get_mysql_password(&self) -> String
pub fn try_get_mysql_password(&self) -> &Option<String>
pub fn get_mut_mysql_password(&mut self) -> &mut Option<String>
pub fn set_mysql_password(&mut self, val: Option<String>) -> &mut Self
pub fn get_mysql_port(&self) -> Option<usize>
pub fn try_get_mysql_port(&self) -> Option<usize>
pub fn get_mut_mysql_port(&mut self) -> &mut Option<usize>
pub fn set_mysql_port(&mut self, val: Option<usize>) -> &mut Self
pub fn get_mysql_username(&self) -> String
pub fn try_get_mysql_username(&self) -> &Option<String>
pub fn get_mut_mysql_username(&mut self) -> &mut Option<String>
pub fn set_mysql_username(&mut self, val: Option<String>) -> &mut Self
pub fn get_postgresql_database(&self) -> String
pub fn try_get_postgresql_database(&self) -> &Option<String>
pub fn get_mut_postgresql_database(&mut self) -> &mut Option<String>
pub fn set_postgresql_database(&mut self, val: Option<String>) -> &mut Self
pub fn get_postgresql_password(&self) -> String
pub fn try_get_postgresql_password(&self) -> &Option<String>
pub fn get_mut_postgresql_password(&mut self) -> &mut Option<String>
pub fn set_postgresql_password(&mut self, val: Option<String>) -> &mut Self
pub fn get_postgresql_port(&self) -> Option<usize>
pub fn try_get_postgresql_port(&self) -> Option<usize>
pub fn get_mut_postgresql_port(&mut self) -> &mut Option<usize>
pub fn set_postgresql_port(&mut self, val: Option<usize>) -> &mut Self
pub fn get_postgresql_username(&self) -> String
pub fn try_get_postgresql_username(&self) -> &Option<String>
pub fn get_mut_postgresql_username(&mut self) -> &mut Option<String>
pub fn set_postgresql_username(&mut self, val: Option<String>) -> &mut Self
pub fn get_redis_password(&self) -> String
pub fn try_get_redis_password(&self) -> &Option<String>
pub fn get_mut_redis_password(&mut self) -> &mut Option<String>
pub fn set_redis_password(&mut self, val: Option<String>) -> &mut Self
pub fn get_redis_port(&self) -> Option<usize>
pub fn try_get_redis_port(&self) -> Option<usize>
pub fn get_mut_redis_port(&mut self) -> &mut Option<usize>
pub fn set_redis_port(&mut self, val: Option<usize>) -> &mut Self
pub fn get_redis_username(&self) -> String
pub fn try_get_redis_username(&self) -> &Option<String>
pub fn get_mut_redis_username(&mut self) -> &mut Option<String>
pub fn set_redis_username(&mut self, val: Option<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for DockerComposeConfig
impl Clone for DockerComposeConfig
Source§fn clone(&self) -> DockerComposeConfig
fn clone(&self) -> DockerComposeConfig
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 DockerComposeConfig
impl Debug for DockerComposeConfig
Source§impl Default for DockerComposeConfig
impl Default for DockerComposeConfig
Source§fn default() -> DockerComposeConfig
fn default() -> DockerComposeConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DockerComposeConfig
impl RefUnwindSafe for DockerComposeConfig
impl Send for DockerComposeConfig
impl Sync for DockerComposeConfig
impl Unpin for DockerComposeConfig
impl UnsafeUnpin for DockerComposeConfig
impl UnwindSafe for DockerComposeConfig
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