pub struct MockServiceSpec {
pub name: String,
pub port: u16,
pub spec_path: Option<String>,
pub config_path: Option<String>,
}
Expand description
Mock service specification for docker-compose generation
Fields§
§name: String
§port: u16
§spec_path: Option<String>
§config_path: Option<String>
Trait Implementations§
Source§impl Clone for MockServiceSpec
impl Clone for MockServiceSpec
Source§fn clone(&self) -> MockServiceSpec
fn clone(&self) -> MockServiceSpec
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 moreAuto Trait Implementations§
impl Freeze for MockServiceSpec
impl RefUnwindSafe for MockServiceSpec
impl Send for MockServiceSpec
impl Sync for MockServiceSpec
impl Unpin for MockServiceSpec
impl UnwindSafe for MockServiceSpec
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