pub struct ControlContext {
pub control_plane_mode: Option<String>,
pub tenant: Option<String>,
pub expected_runtime_profile: Option<String>,
pub requires_strict_sandbox: bool,
pub requires_resource_reservation: bool,
pub labels: BTreeMap<String, String>,
}Fields§
§control_plane_mode: Option<String>§tenant: Option<String>§expected_runtime_profile: Option<String>§requires_strict_sandbox: bool§requires_resource_reservation: bool§labels: BTreeMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for ControlContext
impl Clone for ControlContext
Source§fn clone(&self) -> ControlContext
fn clone(&self) -> ControlContext
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 ControlContext
impl Debug for ControlContext
Source§impl Default for ControlContext
impl Default for ControlContext
Source§fn default() -> ControlContext
fn default() -> ControlContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControlContext
impl<'de> Deserialize<'de> for ControlContext
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 ControlContext
impl PartialEq for ControlContext
Source§impl Serialize for ControlContext
impl Serialize for ControlContext
impl Eq for ControlContext
impl StructuralPartialEq for ControlContext
Auto Trait Implementations§
impl Freeze for ControlContext
impl RefUnwindSafe for ControlContext
impl Send for ControlContext
impl Sync for ControlContext
impl Unpin for ControlContext
impl UnsafeUnpin for ControlContext
impl UnwindSafe for ControlContext
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