pub struct StoredCachePolicy {
pub id: String,
pub etag: String,
pub last_modified_time: DateTime<Utc>,
pub config: CachePolicyConfig,
pub policy_type: String,
}Fields§
§id: String§etag: String§last_modified_time: DateTime<Utc>§config: CachePolicyConfig§policy_type: String“managed” or “custom”.
Trait Implementations§
Source§impl Clone for StoredCachePolicy
impl Clone for StoredCachePolicy
Source§fn clone(&self) -> StoredCachePolicy
fn clone(&self) -> StoredCachePolicy
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 StoredCachePolicy
impl Debug for StoredCachePolicy
Source§impl<'de> Deserialize<'de> for StoredCachePolicy
impl<'de> Deserialize<'de> for StoredCachePolicy
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 StoredCachePolicy
impl RefUnwindSafe for StoredCachePolicy
impl Send for StoredCachePolicy
impl Sync for StoredCachePolicy
impl Unpin for StoredCachePolicy
impl UnsafeUnpin for StoredCachePolicy
impl UnwindSafe for StoredCachePolicy
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