pub struct ResourceEntry {
pub config: Resource,
pub lifecycle: ResourceLifecycle,
pub dependencies: Vec<ResourceRef>,
pub remote_access: bool,
}Fields§
§config: ResourceResource configuration (can be any type of resource)
lifecycle: ResourceLifecycleLifecycle management configuration for this resource
dependencies: Vec<ResourceRef>Additional dependencies for this resource beyond those defined in the resource itself. The total dependencies are: resource.get_dependencies() + this list
remote_access: boolEnable remote bindings for this resource (BYOB use case).
When true, binding params are synced to StackState’s remote_binding_params.
Default: false (prevents sensitive data in synced state).
Trait Implementations§
Source§impl Clone for ResourceEntry
impl Clone for ResourceEntry
Source§fn clone(&self) -> ResourceEntry
fn clone(&self) -> ResourceEntry
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 ResourceEntry
impl Debug for ResourceEntry
Source§impl<'de> Deserialize<'de> for ResourceEntry
impl<'de> Deserialize<'de> for ResourceEntry
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 ResourceEntry
impl PartialEq for ResourceEntry
Source§impl Serialize for ResourceEntry
impl Serialize for ResourceEntry
impl Eq for ResourceEntry
impl StructuralPartialEq for ResourceEntry
Auto Trait Implementations§
impl Freeze for ResourceEntry
impl !RefUnwindSafe for ResourceEntry
impl Send for ResourceEntry
impl Sync for ResourceEntry
impl Unpin for ResourceEntry
impl UnsafeUnpin for ResourceEntry
impl !UnwindSafe for ResourceEntry
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.