pub struct StoredCommandContext {
pub execution_scope: Option<ResourceScope>,
pub resource: CommandContextResource,
pub owner: PrincipalRef,
pub executors: Vec<PrincipalRef>,
pub env_refs: BTreeMap<String, SecretRef>,
pub request_hash: String,
pub caller_credential_ref: Option<SecretRef>,
}Expand description
Internal persistence model. Never serialize this record into an API response.
Fields§
§execution_scope: Option<ResourceScope>§resource: CommandContextResource§owner: PrincipalRef§executors: Vec<PrincipalRef>§env_refs: BTreeMap<String, SecretRef>§request_hash: String§caller_credential_ref: Option<SecretRef>Trait Implementations§
Source§impl Clone for StoredCommandContext
impl Clone for StoredCommandContext
Source§fn clone(&self) -> StoredCommandContext
fn clone(&self) -> StoredCommandContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoredCommandContext
impl Debug for StoredCommandContext
Source§impl<'de> Deserialize<'de> for StoredCommandContext
impl<'de> Deserialize<'de> for StoredCommandContext
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
impl Eq for StoredCommandContext
Source§impl PartialEq for StoredCommandContext
impl PartialEq for StoredCommandContext
Source§impl Serialize for StoredCommandContext
impl Serialize for StoredCommandContext
impl StructuralPartialEq for StoredCommandContext
Auto Trait Implementations§
impl Freeze for StoredCommandContext
impl RefUnwindSafe for StoredCommandContext
impl Send for StoredCommandContext
impl Sync for StoredCommandContext
impl Unpin for StoredCommandContext
impl UnsafeUnpin for StoredCommandContext
impl UnwindSafe for StoredCommandContext
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