pub struct ChannelRecord {
pub id: String,
pub name: String,
pub platform: String,
pub credentials: String,
pub settings: String,
pub status: String,
pub validated_at: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
A persisted channel configuration record.
Fields§
§id: StringUnique identifier for this channel.
name: StringHuman-readable name for this channel (unique).
platform: StringPlatform identifier (e.g., “telegram”, “slack”).
credentials: StringJSON-encoded credentials.
settings: StringJSON-encoded settings.
status: StringConnection status (e.g., “connected”, “disconnected”, “error”).
validated_at: Option<String>When credentials were last validated.
created_at: StringWhen the record was created.
updated_at: StringWhen the record was last updated.
Trait Implementations§
Source§impl Clone for ChannelRecord
impl Clone for ChannelRecord
Source§fn clone(&self) -> ChannelRecord
fn clone(&self) -> ChannelRecord
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 moreSource§impl Debug for ChannelRecord
impl Debug for ChannelRecord
Source§impl<'de> Deserialize<'de> for ChannelRecord
impl<'de> Deserialize<'de> for ChannelRecord
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 ChannelRecord
impl RefUnwindSafe for ChannelRecord
impl Send for ChannelRecord
impl Sync for ChannelRecord
impl Unpin for ChannelRecord
impl UnsafeUnpin for ChannelRecord
impl UnwindSafe for ChannelRecord
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