pub struct EnvironmentDeclaration {
pub tenant: String,
pub environment: Environment,
}Expand description
An environment was declared: the journaled payload of a
crate::record::RunEventKind::EnvironmentDeclared event. The rule
in force journals with the declaration, so an audit reads the
declaration that governed a promotion, not a later edit.
Fields§
§tenant: StringThe tenant the environment was declared under.
environment: EnvironmentThe declared environment.
Trait Implementations§
Source§impl Clone for EnvironmentDeclaration
impl Clone for EnvironmentDeclaration
Source§impl Debug for EnvironmentDeclaration
impl Debug for EnvironmentDeclaration
Source§impl<'de> Deserialize<'de> for EnvironmentDeclaration
impl<'de> Deserialize<'de> for EnvironmentDeclaration
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 EnvironmentDeclaration
impl PartialEq for EnvironmentDeclaration
Source§impl Serialize for EnvironmentDeclaration
impl Serialize for EnvironmentDeclaration
impl StructuralPartialEq for EnvironmentDeclaration
Auto Trait Implementations§
impl Freeze for EnvironmentDeclaration
impl RefUnwindSafe for EnvironmentDeclaration
impl Send for EnvironmentDeclaration
impl Sync for EnvironmentDeclaration
impl Unpin for EnvironmentDeclaration
impl UnsafeUnpin for EnvironmentDeclaration
impl UnwindSafe for EnvironmentDeclaration
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