pub struct WithHints { /* private fields */ }Implementations§
Source§impl WithHints
impl WithHints
pub fn new() -> Self
pub fn d_color(self, color: u32) -> Self
pub fn d_title(self, title: impl Into<String>) -> Self
pub fn tg_silent(self) -> Self
pub fn tg_disable_preview(self) -> Self
pub fn slack_username(self, username: impl Into<String>) -> Self
pub fn slack_emoji(self, emoji: impl Into<String>) -> Self
pub fn ntfy_title(self, title: impl Into<String>) -> Self
Sourcepub fn ntfy_priority(self, priority: u8) -> Self
pub fn ntfy_priority(self, priority: u8) -> Self
Priority: 1 (min) to 5 (max).
Comma-separated tags, e.g. "trading,alert,btc".
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WithHints
impl RefUnwindSafe for WithHints
impl Send for WithHints
impl Sync for WithHints
impl Unpin for WithHints
impl UnsafeUnpin for WithHints
impl UnwindSafe for WithHints
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