pub struct AvailableChannelInfo {
pub channel_id: String,
pub channel_name: String,
pub protocol: String,
pub protocols: String,
pub health_status: String,
pub enabled: bool,
pub models: Vec<AvailableModelInfo>,
}Expand description
An enabled channel with its bound models, used by the Admin API
GET /admin/available-channels endpoint for Claude direct-connect mode.
Fields§
§channel_id: StringChannel ID.
channel_name: StringHuman-readable channel name.
protocol: StringDefault protocol for this channel.
protocols: StringProtocols JSON with base_url and rewrite_path.
health_status: StringCurrent health status.
enabled: boolWhether the channel is enabled.
models: Vec<AvailableModelInfo>Models bound to this channel.
Trait Implementations§
Source§impl Clone for AvailableChannelInfo
impl Clone for AvailableChannelInfo
Source§fn clone(&self) -> AvailableChannelInfo
fn clone(&self) -> AvailableChannelInfo
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 AvailableChannelInfo
impl Debug for AvailableChannelInfo
Source§impl<'de> Deserialize<'de> for AvailableChannelInfo
impl<'de> Deserialize<'de> for AvailableChannelInfo
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 AvailableChannelInfo
impl RefUnwindSafe for AvailableChannelInfo
impl Send for AvailableChannelInfo
impl Sync for AvailableChannelInfo
impl Unpin for AvailableChannelInfo
impl UnsafeUnpin for AvailableChannelInfo
impl UnwindSafe for AvailableChannelInfo
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