pub struct Server {
pub name: String,
pub base_url: Option<String>,
pub docker_container_name: Option<String>,
pub health_check_method: HealthCheckMethod,
pub kill_path: Option<String>,
pub log_command: Option<Vec<String>>,
}Fields§
§name: String§base_url: Option<String>§docker_container_name: Option<String>§health_check_method: HealthCheckMethod§kill_path: Option<String>§log_command: Option<Vec<String>>Implementations§
Source§impl Server
impl Server
pub fn get_health_check_url(&self) -> Option<String>
pub fn get_kill_url(&self) -> Option<String>
pub fn from(config: ServerConfig) -> Self
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnsafeUnpin for Server
impl UnwindSafe for Server
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