pub struct ManagedResource {
pub resource_type: String,
pub resource_id: String,
pub source: String,
pub last_hash: Option<String>,
pub last_applied: Option<i64>,
}Expand description
A managed resource tracked in the state store.
Fields§
§resource_type: String§resource_id: String§source: String§last_hash: Option<String>§last_applied: Option<i64>Trait Implementations§
Source§impl Clone for ManagedResource
impl Clone for ManagedResource
Source§fn clone(&self) -> ManagedResource
fn clone(&self) -> ManagedResource
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 ManagedResource
impl Debug for ManagedResource
Auto Trait Implementations§
impl Freeze for ManagedResource
impl RefUnwindSafe for ManagedResource
impl Send for ManagedResource
impl Sync for ManagedResource
impl Unpin for ManagedResource
impl UnsafeUnpin for ManagedResource
impl UnwindSafe for ManagedResource
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