pub struct RoutineCreate {
pub description: Option<Option<String>>,
pub domain_context: RoutineCreateDomainContext,
pub domain_type: String,
pub is_enabled: Option<bool>,
pub name: String,
pub priority: Option<i64>,
pub extra: Map<String, Value>,
}Fields§
§description: Option<Option<String>>None leaves the field out, Some(None) sends null.
domain_context: RoutineCreateDomainContextContext for the currently supported group_membership domain. Group and role IDs are required by the domain handler.
domain_type: StringAllowed values: group_membership.
is_enabled: Option<bool>§name: StringTrimmed automation name.
priority: Option<i64>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for RoutineCreate
impl Clone for RoutineCreate
Source§impl Debug for RoutineCreate
impl Debug for RoutineCreate
Source§impl Default for RoutineCreate
impl Default for RoutineCreate
Source§impl<'de> Deserialize<'de> for RoutineCreate
impl<'de> Deserialize<'de> for RoutineCreate
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 PartialEq for RoutineCreate
impl PartialEq for RoutineCreate
Source§impl Serialize for RoutineCreate
impl Serialize for RoutineCreate
impl StructuralPartialEq for RoutineCreate
Auto Trait Implementations§
impl Freeze for RoutineCreate
impl RefUnwindSafe for RoutineCreate
impl Send for RoutineCreate
impl Sync for RoutineCreate
impl Unpin for RoutineCreate
impl UnsafeUnpin for RoutineCreate
impl UnwindSafe for RoutineCreate
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