pub struct ChannelProbe {
pub connected: bool,
pub account_id: Option<String>,
pub display_name: Option<String>,
pub error: Option<String>,
}Expand description
Channel health probe result.
Fields§
§connected: boolWhether channel is connected.
account_id: Option<String>Account/bot identifier.
display_name: Option<String>Account display name.
error: Option<String>Error message if not connected.
Trait Implementations§
Source§impl Clone for ChannelProbe
impl Clone for ChannelProbe
Source§fn clone(&self) -> ChannelProbe
fn clone(&self) -> ChannelProbe
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChannelProbe
impl RefUnwindSafe for ChannelProbe
impl Send for ChannelProbe
impl Sync for ChannelProbe
impl Unpin for ChannelProbe
impl UnwindSafe for ChannelProbe
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