pub struct WorkerFixture {
pub id: String,
pub host: String,
pub user: String,
pub identity_file: String,
pub total_slots: u32,
pub priority: u32,
}Expand description
Sample worker configuration for tests
Fields§
§id: String§host: String§user: String§identity_file: String§total_slots: u32§priority: u32Implementations§
Source§impl WorkerFixture
impl WorkerFixture
Trait Implementations§
Source§impl Clone for WorkerFixture
impl Clone for WorkerFixture
Auto Trait Implementations§
impl Freeze for WorkerFixture
impl RefUnwindSafe for WorkerFixture
impl Send for WorkerFixture
impl Sync for WorkerFixture
impl Unpin for WorkerFixture
impl UnsafeUnpin for WorkerFixture
impl UnwindSafe for WorkerFixture
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