pub struct CachedResourceState {
pub metadata: ResourceMetadata,
pub version: ResourceVersion,
pub descriptor_hash: Option<String>,
}Expand description
Resource metadata and the provider token used to index it.
Unstable: may change before 1.0 alongside the provider and cache contracts.
Fields§
§metadata: ResourceMetadata§version: ResourceVersion§descriptor_hash: Option<String>Preparation descriptor hash; absent for migrated legacy entries.
Trait Implementations§
Source§impl Clone for CachedResourceState
impl Clone for CachedResourceState
Source§impl Debug for CachedResourceState
impl Debug for CachedResourceState
impl Eq for CachedResourceState
Source§impl PartialEq for CachedResourceState
impl PartialEq for CachedResourceState
impl StructuralPartialEq for CachedResourceState
Auto Trait Implementations§
impl Freeze for CachedResourceState
impl RefUnwindSafe for CachedResourceState
impl Send for CachedResourceState
impl Sync for CachedResourceState
impl Unpin for CachedResourceState
impl UnsafeUnpin for CachedResourceState
impl UnwindSafe for CachedResourceState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.