Struct ocf::Hooks
[−]
[src]
pub struct Hooks { pub pre_start: Vec<Command>, pub post_start: Vec<Command>, pub post_stop: Vec<Command>, }
Fields
pre_start | |
post_start | |
post_stop |
pub struct Hooks { pub pre_start: Vec<Command>, pub post_start: Vec<Command>, pub post_stop: Vec<Command>, }
pre_start | |
post_start | |
post_stop |
impl Hooks
fn pre_start(&self) -> &[Command]
fn post_start(&self) -> &[Command]
fn post_stop(&self) -> &[Command]
impl Deserialize for Hooks
fn deserialize<__D>(deserializer: &mut __D) -> Result<Hooks, __D::Error> where __D: Deserializer
impl Serialize for Hooks
fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer
impl Debug for Hooks
impl Clone for Hooks
fn clone(&self) -> Hooks
fn clone_from(&mut self, source: &Self)