pub struct Routine {
pub description: Option<String>,
pub domain_type: String,
pub id: i64,
pub is_enabled: bool,
pub name: String,
pub priority: i64,
pub steps: Vec<Value>,
pub extra: Map<String, Value>,
}Expand description
Automation definition, including enabled and disabled steps as a nested tree. Domain context bindings and per-membership execution progress are separate resources.
Fields§
§description: Option<String>§domain_type: StringAllowed values: group_membership.
id: i64§is_enabled: bool§name: String§priority: i64§steps: Vec<Value>Root steps in sort order, with children nested on their parent steps. Empty child arrays are omitted by the serializer.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Routine
impl<'de> Deserialize<'de> for Routine
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
impl StructuralPartialEq for Routine
Auto Trait Implementations§
impl Freeze for Routine
impl RefUnwindSafe for Routine
impl Send for Routine
impl Sync for Routine
impl Unpin for Routine
impl UnsafeUnpin for Routine
impl UnwindSafe for Routine
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