pub struct ResolvedChannel {
pub channel_id: String,
pub channel_name: String,
pub api_key: SecretString,
pub protocols: Vec<ProtocolEntry>,
pub enabled: bool,
pub force_protocol: Option<String>,
pub priority: u32,
pub mappings: Vec<ResolvedMapping>,
}Expand description
Parsed in-memory representation of a channel with its model mappings.
Fields§
§channel_id: StringChannel ID.
channel_name: StringHuman-readable channel name.
api_key: SecretStringAPI key for upstream requests.
protocols: Vec<ProtocolEntry>Supported protocols parsed from the channel’s JSON configuration.
enabled: boolWhether the channel is enabled.
force_protocol: Option<String>Optional protocol override.
priority: u32Routing priority (higher = selected first).
mappings: Vec<ResolvedMapping>Model mappings bound to this channel.
Trait Implementations§
Source§impl Clone for ResolvedChannel
impl Clone for ResolvedChannel
Source§fn clone(&self) -> ResolvedChannel
fn clone(&self) -> ResolvedChannel
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 moreAuto Trait Implementations§
impl Freeze for ResolvedChannel
impl RefUnwindSafe for ResolvedChannel
impl Send for ResolvedChannel
impl Sync for ResolvedChannel
impl Unpin for ResolvedChannel
impl UnsafeUnpin for ResolvedChannel
impl UnwindSafe for ResolvedChannel
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