Struct monitor_types::Action
source · pub struct Action {
pub id: String,
pub name: String,
pub path: String,
pub command: String,
pub server_ids: Vec<String>,
pub group_ids: Vec<String>,
pub run_on_all: bool,
pub permissions: PermissionsMap,
pub created_at: String,
pub updated_at: String,
}
Fields§
§id: String
§name: String
§path: String
§command: String
§server_ids: Vec<String>
§group_ids: Vec<String>
§run_on_all: bool
§permissions: PermissionsMap
§created_at: String
§updated_at: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Diff for Action
impl Diff for Action
§type Repr = ActionDiff
type Repr = ActionDiff
The type associated with the structs’ difference
source§fn diff_custom<D>(&self, other: &Self, visitor: &D) -> <D as Differ<Self>>::Reprwhere
D: Differ<Self>,
fn diff_custom<D>(&self, other: &Self, visitor: &D) -> <D as Differ<Self>>::Reprwhere D: Differ<Self>,
Produces a diff between two structs, using an external diffing implementation
source§fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D)where
D: Differ<Self>,
fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D)where D: Differ<Self>,
Applies the diff directly to the struct, using an external diffing implementation