pub struct GlobalChannelConfig {
pub telegram_general_topic_id: Option<String>,
pub discord_general_channel_id: Option<String>,
pub control_telegram_topic_id: Option<String>,
pub control_discord_channel_id: Option<String>,
}Expand description
Global channel configuration from ~/.orch/config.yml.
Fields§
§telegram_general_topic_id: Option<String>§discord_general_channel_id: Option<String>§control_telegram_topic_id: Option<String>Telegram topic ID for the control session (from control.channels.telegram.topic_id).
control_discord_channel_id: Option<String>Discord channel ID for the control session (from control.channels.discord.channel_id).
Trait Implementations§
Source§impl Clone for GlobalChannelConfig
impl Clone for GlobalChannelConfig
Source§impl Debug for GlobalChannelConfig
impl Debug for GlobalChannelConfig
Auto Trait Implementations§
impl Freeze for GlobalChannelConfig
impl RefUnwindSafe for GlobalChannelConfig
impl Send for GlobalChannelConfig
impl Sync for GlobalChannelConfig
impl Unpin for GlobalChannelConfig
impl UnsafeUnpin for GlobalChannelConfig
impl UnwindSafe for GlobalChannelConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more