pub struct ChangeToken(pub u64);Expand description
One-shot handle for a staged PropertyModel::request_change decision
(P5).
The model mints the token, the application answers it exactly once, and an
unanswered, superseded, or withdrawn token can never apply the change —
the same default-deny shape as the advanced-control
DecisionToken vocabulary.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ChangeToken
impl Clone for ChangeToken
impl Copy for ChangeToken
Source§impl Debug for ChangeToken
impl Debug for ChangeToken
Source§impl Display for ChangeToken
impl Display for ChangeToken
impl Eq for ChangeToken
Source§impl Hash for ChangeToken
impl Hash for ChangeToken
Source§impl Ord for ChangeToken
impl Ord for ChangeToken
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ChangeToken
impl PartialEq for ChangeToken
Source§impl PartialOrd for ChangeToken
impl PartialOrd for ChangeToken
impl StructuralPartialEq for ChangeToken
Auto Trait Implementations§
impl Forget for ChangeToken
impl Freeze for ChangeToken
impl Move for ChangeToken
impl RefUnwindSafe for ChangeToken
impl Send for ChangeToken
impl Sync for ChangeToken
impl Unpin for ChangeToken
impl UnsafeUnpin for ChangeToken
impl UnwindSafe for ChangeToken
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