Struct monitor_types::ActionBuilder
source · pub struct ActionBuilder { /* private fields */ }
Expand description
Builder for Action
.
Implementations§
source§impl ActionBuilder
impl ActionBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn path(&mut self, value: String) -> &mut Self
pub fn command(&mut self, value: String) -> &mut Self
pub fn server_ids(&mut self, value: Vec<String>) -> &mut Self
pub fn group_ids(&mut self, value: Vec<String>) -> &mut Self
pub fn run_on_all(&mut self, value: bool) -> &mut Self
Trait Implementations§
source§impl Clone for ActionBuilder
impl Clone for ActionBuilder
source§fn clone(&self) -> ActionBuilder
fn clone(&self) -> ActionBuilder
Returns a copy 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 more