pub struct Override {
pub unit: UnitId,
pub desired: OverrideDesired,
pub until: Until,
pub reason: String,
pub by: Actor,
pub attribution: Attribution,
pub acknowledged: bool,
}Fields§
§unit: UnitId§desired: OverrideDesired§until: Until§reason: String§by: ActorAlways overwritten by the daemon from the caller’s credentials (§11).
Actor::Unattributed exactly when attribution == Inferred.
attribution: Attribution§acknowledged: boolAn Inferred override a user has acknowledged: the console stops
listing it; it still holds until it ends (§11, B-11).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Override
impl<'de> Deserialize<'de> for Override
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 Ord for Override
impl Ord for Override
Source§impl PartialOrd for Override
impl PartialOrd for Override
impl Eq for Override
impl StructuralPartialEq for Override
Auto Trait Implementations§
impl Freeze for Override
impl RefUnwindSafe for Override
impl Send for Override
impl Sync for Override
impl Unpin for Override
impl UnsafeUnpin for Override
impl UnwindSafe for Override
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