pub struct CachedContentSummary {
pub name: String,
pub model: Model,
pub create_time: OffsetDateTime,
pub update_time: OffsetDateTime,
pub usage_metadata: CacheUsageMetadata,
pub expiration: CacheExpirationResponse,
pub display_name: Option<String>,
}
Expand description
Summary of cached content (used in list operations, may omit large content fields).
Fields§
§name: String
The resource name of the cached content.
model: Model
The name of the model used for cached content.
create_time: OffsetDateTime
Creation time of the cached content.
update_time: OffsetDateTime
Last update time of the cached content.
usage_metadata: CacheUsageMetadata
Usage metadata for the cached content.
expiration: CacheExpirationResponse
Expiration information.
display_name: Option<String>
Display name if provided.
Trait Implementations§
Source§impl Clone for CachedContentSummary
impl Clone for CachedContentSummary
Source§fn clone(&self) -> CachedContentSummary
fn clone(&self) -> CachedContentSummary
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 CachedContentSummary
impl Debug for CachedContentSummary
Source§impl<'de> Deserialize<'de> for CachedContentSummary
impl<'de> Deserialize<'de> for CachedContentSummary
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
Source§impl PartialEq for CachedContentSummary
impl PartialEq for CachedContentSummary
Source§impl Serialize for CachedContentSummary
impl Serialize for CachedContentSummary
impl StructuralPartialEq for CachedContentSummary
Auto Trait Implementations§
impl Freeze for CachedContentSummary
impl RefUnwindSafe for CachedContentSummary
impl Send for CachedContentSummary
impl Sync for CachedContentSummary
impl Unpin for CachedContentSummary
impl UnwindSafe for CachedContentSummary
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