pub struct Fault {
pub asset: AssetId,
pub kind: FaultKind,
pub from: i64,
pub to: i64,
}Expand description
A planned disturbance of one asset over [from, to).
Fields§
§asset: AssetIdThe asset.
kind: FaultKindWhat happens.
from: i64Start, Unix seconds (inclusive).
to: i64End, Unix seconds (exclusive).
Trait Implementations§
impl Eq for Fault
impl StructuralPartialEq for Fault
Auto Trait Implementations§
impl Forget for Fault
impl Freeze for Fault
impl Move for Fault
impl RefUnwindSafe for Fault
impl Send for Faultwhere
RawVecInner: Send,
impl Sync for Faultwhere
RawVecInner: Sync,
impl Unpin for Fault
impl UnsafeUnpin for Fault
impl UnwindSafe for Faultwhere
RawVecInner: UnwindSafe,
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