pub struct DiscordConfig {
pub webhook_url: String,
pub enabled: bool,
pub notify_on_signal: bool,
pub notify_on_fill: bool,
pub notify_on_error: bool,
}Fields§
§webhook_url: String§enabled: bool§notify_on_signal: bool§notify_on_fill: bool§notify_on_error: boolTrait Implementations§
Source§impl Clone for DiscordConfig
impl Clone for DiscordConfig
Source§fn clone(&self) -> DiscordConfig
fn clone(&self) -> DiscordConfig
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 DiscordConfig
impl Debug for DiscordConfig
Source§impl Default for DiscordConfig
impl Default for DiscordConfig
Source§impl<'de> Deserialize<'de> for DiscordConfigwhere
DiscordConfig: Default,
impl<'de> Deserialize<'de> for DiscordConfigwhere
DiscordConfig: Default,
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 DiscordConfig
impl RefUnwindSafe for DiscordConfig
impl Send for DiscordConfig
impl Sync for DiscordConfig
impl Unpin for DiscordConfig
impl UnsafeUnpin for DiscordConfig
impl UnwindSafe for DiscordConfig
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