pub struct TimeScope {
pub condition: String,
}Expand description
An optional scope window for a claim (spec §3, time_scope?). Used by the
qualify remediation move to let two otherwise-contradicting claims coexist
under different conditions.
Fields§
§condition: StringFree-form caller-supplied scope token (e.g. v2, peak-load).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeScope
impl<'de> Deserialize<'de> for TimeScope
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 TimeScope
impl StructuralPartialEq for TimeScope
Auto Trait Implementations§
impl Freeze for TimeScope
impl RefUnwindSafe for TimeScope
impl Send for TimeScope
impl Sync for TimeScope
impl Unpin for TimeScope
impl UnsafeUnpin for TimeScope
impl UnwindSafe for TimeScope
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