pub struct BasellmMetadataCache {
pub source_url: String,
pub fetched_at_unix: i64,
pub etag: Option<String>,
pub last_modified: Option<String>,
pub openai_models: BTreeMap<String, BasellmOpenAiModelMetadata>,
}Fields§
§source_url: String§fetched_at_unix: i64§etag: Option<String>§last_modified: Option<String>§openai_models: BTreeMap<String, BasellmOpenAiModelMetadata>Trait Implementations§
Source§impl Clone for BasellmMetadataCache
impl Clone for BasellmMetadataCache
Source§fn clone(&self) -> BasellmMetadataCache
fn clone(&self) -> BasellmMetadataCache
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 BasellmMetadataCache
impl Debug for BasellmMetadataCache
Source§impl Default for BasellmMetadataCache
impl Default for BasellmMetadataCache
Source§fn default() -> BasellmMetadataCache
fn default() -> BasellmMetadataCache
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasellmMetadataCachewhere
BasellmMetadataCache: Default,
impl<'de> Deserialize<'de> for BasellmMetadataCachewhere
BasellmMetadataCache: Default,
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 BasellmMetadataCache
impl RefUnwindSafe for BasellmMetadataCache
impl Send for BasellmMetadataCache
impl Sync for BasellmMetadataCache
impl Unpin for BasellmMetadataCache
impl UnsafeUnpin for BasellmMetadataCache
impl UnwindSafe for BasellmMetadataCache
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