pub struct EnvironmentPhysics {
pub rate_limits: Vec<RateLimit>,
pub cost_constraints: Vec<CostConstraint>,
pub time_constraints: Vec<TimeConstraint>,
pub quotas: Vec<Quota>,
pub permissions: Vec<String>,
pub forbidden_actions: Vec<String>,
pub compliance: Vec<String>,
}Expand description
The physics (constraints) governing this environment.
Fields§
§rate_limits: Vec<RateLimit>§cost_constraints: Vec<CostConstraint>§time_constraints: Vec<TimeConstraint>§quotas: Vec<Quota>§permissions: Vec<String>§forbidden_actions: Vec<String>§compliance: Vec<String>Trait Implementations§
Source§impl Clone for EnvironmentPhysics
impl Clone for EnvironmentPhysics
Source§fn clone(&self) -> EnvironmentPhysics
fn clone(&self) -> EnvironmentPhysics
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 EnvironmentPhysics
impl Debug for EnvironmentPhysics
Source§impl<'de> Deserialize<'de> for EnvironmentPhysics
impl<'de> Deserialize<'de> for EnvironmentPhysics
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
Auto Trait Implementations§
impl Freeze for EnvironmentPhysics
impl RefUnwindSafe for EnvironmentPhysics
impl Send for EnvironmentPhysics
impl Sync for EnvironmentPhysics
impl Unpin for EnvironmentPhysics
impl UnsafeUnpin for EnvironmentPhysics
impl UnwindSafe for EnvironmentPhysics
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