pub struct EditVariableExpirationHandler {
pub path: Option<Option<String>>,
pub extra_args: Option<HashMap<String, Value>>,
pub muted_on_user_path: Option<bool>,
pub notify_before_secs: Option<i32>,
pub remind_every_secs: Option<i32>,
}Expand description
EditVariableExpirationHandler : Request body for editing the workspace variable expiration handler. Omit path (or send null) to unset the handler.
Fields§
§path: Option<Option<String>>Path to the variable expiration handler script or flow
extra_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
muted_on_user_path: Option<bool>Do not run the handler for variables on a personal (u/) path
notify_before_secs: Option<i32>How long before a variable’s value expires the handler runs. 1 day when omitted.
remind_every_secs: Option<i32>Run the handler again at this interval until the value expires. No reminders when omitted or 0.
Implementations§
Source§impl EditVariableExpirationHandler
impl EditVariableExpirationHandler
Sourcepub fn new() -> EditVariableExpirationHandler
pub fn new() -> EditVariableExpirationHandler
Request body for editing the workspace variable expiration handler. Omit path (or send null) to unset the handler.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EditVariableExpirationHandler
impl<'de> Deserialize<'de> for EditVariableExpirationHandler
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 EditVariableExpirationHandler
Auto Trait Implementations§
impl Freeze for EditVariableExpirationHandler
impl RefUnwindSafe for EditVariableExpirationHandler
impl Send for EditVariableExpirationHandler
impl Sync for EditVariableExpirationHandler
impl Unpin for EditVariableExpirationHandler
impl UnsafeUnpin for EditVariableExpirationHandler
impl UnwindSafe for EditVariableExpirationHandler
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