pub struct RunnerBuilder { /* private fields */ }Expand description
Builder for Runner.
Implementations§
Source§impl RunnerBuilder
impl RunnerBuilder
pub fn id(&mut self, value: i64) -> &mut Self
pub fn active(&mut self, value: bool) -> &mut Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn ip_address(&mut self, value: String) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn online(&mut self, value: bool) -> &mut Self
pub fn paused(&mut self, value: bool) -> &mut Self
pub fn runner_type(&mut self, value: String) -> &mut Self
pub fn status(&mut self, value: String) -> &mut Self
Trait Implementations§
Source§impl Clone for RunnerBuilder
impl Clone for RunnerBuilder
Source§fn clone(&self) -> RunnerBuilder
fn clone(&self) -> RunnerBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunnerBuilder
impl RefUnwindSafe for RunnerBuilder
impl Send for RunnerBuilder
impl Sync for RunnerBuilder
impl Unpin for RunnerBuilder
impl UnwindSafe for RunnerBuilder
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