pub struct ByokKey {Show 13 fields
pub id: Option<String>,
pub provider: Option<String>,
pub workspace_id: Option<String>,
pub label: Option<String>,
pub name: Option<String>,
pub disabled: Option<bool>,
pub is_fallback: Option<bool>,
pub allowed_models: Option<Vec<String>>,
pub allowed_api_key_hashes: Option<Vec<String>>,
pub allowed_user_ids: Option<Vec<String>>,
pub sort_order: Option<i64>,
pub created_at: Option<String>,
pub extra: JsonObject,
}Fields§
§id: Option<String>§provider: Option<String>§workspace_id: Option<String>§label: Option<String>§name: Option<String>§disabled: Option<bool>§is_fallback: Option<bool>§allowed_models: Option<Vec<String>>§allowed_api_key_hashes: Option<Vec<String>>§allowed_user_ids: Option<Vec<String>>§sort_order: Option<i64>§created_at: Option<String>§extra: JsonObjectTrait Implementations§
Source§impl<'de> Deserialize<'de> for ByokKey
impl<'de> Deserialize<'de> for ByokKey
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
impl StructuralPartialEq for ByokKey
Auto Trait Implementations§
impl Freeze for ByokKey
impl RefUnwindSafe for ByokKey
impl Send for ByokKey
impl Sync for ByokKey
impl Unpin for ByokKey
impl UnsafeUnpin for ByokKey
impl UnwindSafe for ByokKey
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