pub struct ScheduleNotify {
pub notify_type: String,
pub target: String,
}Expand description
Notification target for schedule results.
Fields§
§notify_type: StringNotification type: slack_dm, slack_channel, terminal, webhook, none
target: StringTarget channel/user ID
Trait Implementations§
Source§impl Clone for ScheduleNotify
impl Clone for ScheduleNotify
Source§fn clone(&self) -> ScheduleNotify
fn clone(&self) -> ScheduleNotify
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScheduleNotify
impl Debug for ScheduleNotify
Source§impl Default for ScheduleNotify
impl Default for ScheduleNotify
Source§fn default() -> ScheduleNotify
fn default() -> ScheduleNotify
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScheduleNotify
impl<'de> Deserialize<'de> for ScheduleNotify
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
Auto Trait Implementations§
impl Freeze for ScheduleNotify
impl RefUnwindSafe for ScheduleNotify
impl Send for ScheduleNotify
impl Sync for ScheduleNotify
impl Unpin for ScheduleNotify
impl UnsafeUnpin for ScheduleNotify
impl UnwindSafe for ScheduleNotify
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